in reply to typeglob/symbolic reference question
Have you considered Sub::Install?
perl -MSub::Install=install_sub -e 'install_sub({code => sub{print "g +reen".$/}, into => +__PACKAGE__, as => "color"}); color()' green
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: typeglob/symbolic reference question
by BrowserUk (Patriarch) on Nov 04, 2010 at 14:36 UTC |
In Section
Seekers of Perl Wisdom