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: Win32 Programming Help: Re: [mhx] GetComputerName: Edit Log



Paul
Enthusiast

Feb 17, 2002, 10:21 AM


Views: 9247
Re: [mhx] GetComputerName

Mine's shorter Tongue

print map { "$_ = $ENV{$_}\n" } keys %ENV;

35 chars.

print "$_ = $ENV{$_}\n" for sort keys %ENV;

36 chars

Laugh

but I guess you win for sorting too :)


(This post was edited by RedRum on Feb 17, 2002, 10:22 AM)


Edit Log:
Post edited by Paul (Enthusiast) on Feb 17, 2002, 10:22 AM


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

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