CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
$_SERVER[] in perl script

 



albertkhor
New User

Dec 7, 2006, 9:03 PM

Post #1 of 2 (582 views)
$_SERVER[] in perl script Can't Post

I use $_SERVER['HTTP__MSG'] in php but I don't know how to user $_SERVER[] in perl script, can someone teach me?


KevinR
Veteran


Dec 7, 2006, 11:24 PM

Post #2 of 2 (579 views)
Re: [albertkhor] $_SERVER[] in perl script [In reply to] Can't Post

maybe that's the equivalent of the %ENV hash:


Code
foreach my $keys (sort keys %ENV) { 
print "$keys = $ENV{$KEYS}\n";
}

-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives