Keep It Simple, Stupid | |
PerlMonks |
Re: Re: Nervously....How do I access the Name of a Perl variable?by Anonymous Monk |
on Jun 11, 2002 at 03:59 UTC ( [id://173381]=note: print w/replies, xml ) | Need Help?? |
Sorry for the second post here but reading the code I thought of one more feature that may be possible.and will try to work out for myself, but I am unsure of the side effects. If a SINGLE value is passed, how hard would it be to have it eval the passed expression and then return that from _trace()? That way, the TRACE macro could be used in-situ in the code, and by a suitable test of some flag (possibly the systems debug settings) either Trace or not trace and the program would still fuction (possibly inefficiently). Does this thought have any merit?
In Section
Seekers of Perl Wisdom
|
|