Acme-Tie-Formatted
view release on metacpan or search on metacpan
lib/Acme/Tie/Formatted.pm view on Meta::CPAN
# Connect the magic to the hash.
tie %format, 'Acme::Tie::Formatted';
}
sub TIEHASH {
my $class = shift;
# Someplace to hang our hat.
bless \my($self), $class;
}
sub FETCH {
my ($self, $key) = @_;
return '' unless $key;
my @args = split $;, $key, -1;
# Return a null string if nothing was passed in.
return '' unless @args;
( run in 3.998 seconds using v1.01-cache-2.11-cpan-5a3173703d6 )