Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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??


in reply to Re: Nervously....How do I access the Name of a Perl variable?
in thread Nervously....How do I access the Name of a Perl variable?

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?

  • Comment on Re: Re: Nervously....How do I access the Name of a Perl variable?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://173381]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-17 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found