Think about Loose Coupling | |
PerlMonks |
Re: Re: Determine if sub is called from control block.by shotgunefx (Parson) |
on Feb 27, 2002 at 11:35 UTC ( [id://147863]=note: print w/replies, xml ) | Need Help?? |
Pretty Clever! Never played much with DATA. Unfortunately, it won't work as I want this as a module. I think trying to do that on the fly will cause many problems. (Evals, etc) I actually just finished a version using Filter::Simple (Changes the calls if the line doesn't contain a for/foreach/while that works but I'd like to avoid requiring it if I can. Thanks! -Lee "To be civilized is to deny one's nature."
In Section
Seekers of Perl Wisdom
|
|