Perl Monk, Perl Meditation | |
PerlMonks |
Re: Storing the bytecode compiled with eval()by ZZamboni (Curate) |
on Apr 30, 2001 at 19:47 UTC ( [id://76631]=note: print w/replies, xml ) | Need Help?? |
You could define it as an anonymous subroutine and store it
in a code ref:
And then call it any time you want as: or define it like a normal subroutine: And then call it with:
--ZZamboni
In Section
Seekers of Perl Wisdom
|
|