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: Advanced: Re: [mozkill] a muti-threaded web client in perl: Edit Log



Paul
Enthusiast

Apr 2, 2003, 11:35 AM


Views: 3133
Re: [mozkill] a muti-threaded web client in perl


Quote
printf "%s\n", $res->status_line;


...why not just:

print $res->status_line . "\n";

...or the wonderful:

print "@{[$res->status_line]}\n";

Also your for() loop could be changed to:

for (1..4) {

Wink


(This post was edited by Paul on Apr 2, 2003, 11:37 AM)


Edit Log:
Post edited by Paul (Enthusiast) on Apr 2, 2003, 11:36 AM
Post edited by Paul (Enthusiast) on Apr 2, 2003, 11:37 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