[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] How to access PERL Environment Variables?
> Ooops!
>
>> Try this instead:
>> [perl]
>> my $return = '';
>> foreach $key (sort keys %$Session) {
>> $return .= $key, '=', $Session->{$key}, "<BR>\n";
>> }
>> return $return;
>> [/perl]
>>
>
> I meant this:
> [perl]
> my $return = '';
> foreach $key (sort keys %$Session) {
> $return .= "$key = ". $Session->{$key} ."<BR>\n";
> }
> return $return;
> [/perl]
>
>
>
>
> -spencer
> spencer@mediabang.com
Thanks a lot Spencer!
So that does it for Session variables... how do I access the standard
PERL Environment variables, such as:
$ENV{'REMOTE_HOST'}
$ENV{'HTTP_USER_AGENT'}
etc...
Anyone have any ideas?
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users