Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Displaying a variable's name and value in a sub

by ciderpunx (Vicar)
on Feb 14, 2011 at 23:16 UTC ( [id://888091]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $a = 'b';
    sub show {
    ...
    }
    
    show('$a');
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-04-20 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found