Hi there!

I'd like to get a list of enviromentvariables from the *NIX-system.

I'd like it in the format...
ENV1=x1
ENv2=x2
ENV3=x3

and so on...

I think I have to use ENV-command. (http://perldoc.perl.org/Env.html)  Is
that right? I don't understand how I get this kind of listing. Please put
me in right direction..


I tried to use print ENV% but I get this kind of output:
HOSTfriggAUDIODEV/tmp/SUNWut/dev/utaudio/8dtstart_sessionlogfile/dev/nullDTSCREENSAVERLISTStartDtscreenBlankXMBINDDIR/usr/dt/lib/bindingsUTAUDIODEV/tmp/SUNWut/dev/utaudio/8AB_CARDCATALOG/usr/dt/share/answerbooks/C/ab_cardcatalogLC_ALLCDTLOGINDISPLAYCLASSSunRayOSTY

I envy you how can solve this... :-)

/G
http://www.varupiraten.se/







-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to