ENV(Y)?

2005-10-14 Thread gustav
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

Re: ENV(Y)?

2005-10-14 Thread Beau E. Cox
Hi Gustav - At 2005-10-13, 23:13:33 you wrote: 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

Re: ENV(Y)?

2005-10-14 Thread gustav
Hi! Thanx a LOT!!! /G http://www.varupiraten.se/ Hi Gustav - At 2005-10-13, 23:13:33 you wrote: 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.

Re: ENV(Y)?

2005-10-14 Thread gustav
Hi! Just a quick question. Can I set or unset an enviromentvariable through this Hash? I just need a yes ... :-) If No, please give explanation... /G http://www.varupiraten.se/ Hi! Thanx a LOT!!! /G http://www.varupiraten.se/ Hi Gustav - At 2005-10-13, 23:13:33 you wrote: Hi there!

Re: Re: ENV(Y)?

2005-10-14 Thread Beau E. Cox
Hi gustav - At 2005-10-13, 23:42:22 you wrote: Hi! Just a quick question. Can I set or unset an enviromentvariable through this Hash? I just need a yes ... :-) If No, please give explanation... Not really. If you do something like: $ENV{SOMEVAR} = 'somevalue'; SOMEVAR will be available to

Re: Re: ENV(Y)?

2005-10-14 Thread gustav
Hi again! I've been looking around... And one thing I don't get. You tell me that SOMEVAR will be available to you in your program and any programs you spawn( with 'system' or backtics). But after your perl script ends, SOMEVAR is lost) and this seems to be correct when I test my program, but I

Re: Re: Re: ENV(Y)?

2005-10-14 Thread Beau E. Cox
Hi Custav - At 2005-10-14, 02:23:59 you wrote: Hi again! I've been looking around... And one thing I don't get. You tell me that SOMEVAR will be available to you in your program and any programs you spawn( with 'system' or backtics). But after your perl script ends, SOMEVAR is lost) and this

Re: Re: Re: ENV(Y)?

2005-10-14 Thread gustav
AHA!! Ok, thanx! Now I understand it better... :-) /G http://www.varupiraten.se/ Hi Custav - At 2005-10-14, 02:23:59 you wrote: Hi again! I've been looking around... And one thing I don't get. You tell me that SOMEVAR will be available to you in your program and any programs you spawn(

Re: Re: ENV(Y)?

2005-10-14 Thread Gustav Wiberg
: ENV(Y)? Please remove my email address from your list, thanks Tom On 10/14/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi again! I've been looking around... And one thing I don't get. You tell me that SOMEVAR will be available to you in your program and any programs you spawn

RE: Re: ENV(Y)?

2005-10-14 Thread Gomez, Juan
To: Thomas J Hughes Cc: beginners@perl.org Subject: Re: Re: ENV(Y)? Hi! I got your mail from the Perl-malinglist. You have to unscribe from that list manually yourself. Best regards /G http://www.varupiraten.se/ - Original Message - From: Thomas J Hughes [EMAIL PROTECTED] To: [EMAIL PROTECTED