Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by wog (Curate)
on Jun 11, 2002 at 01:35 UTC ( [id://173363]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub trace {
      my($package, $filename, $line) = caller;
      # ...
    }
    
  2. or download this
    package TraceMacro;
    
    ...
        print STDERR "$file ($line): $names[$i]:'$values[$i]'";
      }
    }
    
  3. or download this
    use TraceMacro;
    
    # ...
    TRACE( $foo, $bar );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found