|
Acme::Tie::Map - Ties a function to a scalar |
Acme::Tie::Map - Ties a function to a scalar
Only standard modules are used.
use Acme::Tie::Map;
sub quote {
my $t = shift;
return "``$t\'\'";
}
tie $x, 'Acme::Tie::Map', \"e;
$t = "some text"; print $t; # outputs ``some text''
This is an experimental module to apply a function to a scalar.
Robert Rothenberg <rrwo at cpan.org>
This module is in the public domain. No copyright is claimed.
|
Acme::Tie::Map - Ties a function to a scalar |