-----Original Message-----
From: JupiterHost.Net [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 03, 2004 4:23 PM
To: [EMAIL PROTECTED]
Subject: start http request and move on
Hey group,
Not sure how I'd go about doing a url (via LWP probably) but not wait
for it to return.
print "Starting...\n";
nowaiturl("$url?foo=bar");
print "$url has been submitted. When it finishes running you'll get an
email. Have a super day\n"; # or whatever :)
The idea is to be able to submit data to $url for it to be processed
(which may take a while)
without waiting for it to finish.
LWP::Parallel does mutiple $urls in parallel but I want to submit a
single url like you would with LWP but not wait, does that make sense?
Would a fork() of some sort be the best way?
Or what is that even called so I can look around for it?
[jwm]
Don't use LWP but in my CGI scripts I set $| to nonzero ... to do what you
want...
jwm
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>