Acme-Wabby
view release on metacpan or search on metacpan
if (ref($conf{'punctuation'}) ne 'ARRAY') {
die "Not an array reference: punctuation";
}
if (scalar(@{$conf{'punctuation'}}) < 1) {
die "Array must contain at least one element: punctuation";
}
if ($conf{'list_file'} eq $conf{'hash_file'}) {
die "list_file and hash_file cannot point to the same file";
}
# Return our blessed object
return bless({ conf=>\%conf, data=>\%data}, __PACKAGE__);
}
# A destructor for the object, so that we get a chance to autosave the state
# if the caller so desired.
# Arguments: None.
# Returns: Nothing.
sub DESTROY {
my $self = shift;
die "Invalid object" unless (ref($self) eq __PACKAGE__);
( run in 1.581 second using v1.01-cache-2.11-cpan-de7293f3b23 )