Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Print variable name/value for all program variables

by kennethk (Abbot)
on Nov 08, 2012 at 15:43 UTC ( [id://1002930]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #use strict;
    use warnings;
    use Term::ReadLine;
    ...
            print "\%$key\n" if defined *{$glob}{HASH};
        }
    }
    
  2. or download this
    sub commands {
        my @keys = sort keys %Sandbox::;
        for my $key (@keys) {
    ...
            print "\&$key\n" if defined *{$glob}{CODE};
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2024-04-23 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found