[ic] How to access PERL Environment Variables?

Spencer spencer@poseidon.mediabang.com
Thu, 9 Nov 2000 15:23:44 -0700 (MST)


Zac,
	You can access the Session values, and other Perl vars.  You
almost had it, just change a few things, and it should work:
> [perl] 
>  foreach $key (sort keys %$Session) {
>   return $key, '=', $Session->{$key}, "<BR>\n";
>  }
> [/perl]
> 


Try this instead:
[perl] 
  my $return = '';
  foreach $key (sort keys %$Session) {
   $return .= $key, '=', $Session->{$key}, "<BR>\n";
  }
  return $return;
[/perl]