Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Re: •Re: Re: list of all the $env variables

by Juerd (Abbot)
on May 08, 2004 at 22:33 UTC ( [id://351784]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: •Re: Re: list of all the $env variables
in thread list of all the $env variables

Kind of OT, but you could even use map, it's fun stuff.

What happened to good old laziness?

#!/usr/bin/perl use Data::Dumper; print $/, Dumper \%ENV;

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Replies are listed 'Best First'.
Re^8: list of all the $env variables
by davido (Cardinal) on May 09, 2004 at 03:40 UTC
    Or from the command line:

    perl -MData::Dumper -e 'print Dumper \%ENV'
    That should do the trick. (Adjust quotes to taste.)


    Dave

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found