RE: Using Perl to Source variables

2004-04-09 Thread Steven Lembark
-- Srikanth Madani [EMAIL PROTECTED] When the script exists, this variable will no longer be available. The variables are part of the currently running program: int main( int argc, char **argv, char **env ) {^^ the third paramter are the local

RE: Using Perl to Source variables

2004-04-08 Thread Srikanth Madani
I have a general problem sourcing out variables in perl. I certainly can read the environment variables, but setting them persistently even after the script has finished is something I'm having a little more difficulty with. Hi Scott, You can set environment variables in a Perl script using

RE: Using Perl to Source variables

2004-04-08 Thread Hardy Merrill
I think Srikanth made a slight typo - see my comment below. Srikanth Madani [EMAIL PROTECTED] 04/08/04 09:51AM I have a general problem sourcing out variables in perl. I certainly can read the environment variables, but setting them persistently even after the script has finished is something

RE: Using Perl to Source variables

2004-04-08 Thread Srikanth Madani
When the script exists, this variable will no longer be available. ^ Did you mean exits?? ;-) :-) Yes - s/exists/exits. Cheers, Srikanth Madani perl -e'$_=87 69S69E75C69S78 68A32W73A83Y32!;($p,$i,$n,$k