> -Original Message-
> From: JupiterHost.Net [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 02, 2004 10:56 AM
> To: Perl List (E-mail)
> Subject: Re: Working with Environment Variables
>
>
> Hello Dave,
>
> > #!/usr/bin/perl
> >
> &
Hello Dave,
#!/usr/bin/perl
use strict;
use warnings;
my $from1 = $ENV{'SIP_HF_FROM'};
print $from1;
__END__
I get: Use of uninitialized value in print at test.pl line 8.
When I type "set" at the command line, I do see the variable SIP_HF_FROM ...
...
SHLVL=1
SIP_HF_FROM=sip:+16364424593
SIP_RURI=B
-Original Message-
From: Dave Kettmann [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 11:14 AM
To: Perl List (E-mail)
Subject: Working with Environment Variables
Hi List,
I am trying to get an environment variable into another variable (for ease
of use) and I am having
Hi List,
I am trying to get an environment variable into another variable (for ease of
use) and I am having trouble. It seems to only be with 2 certain variables as I
can do the following:
#!/usr/bin/perl
use strict;
use warnings;
my $path1 = $ENV{'PATH'};
print $path1
__END__
And it will