> -----Original Message----- > From: JupiterHost.Net [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 03, 2004 10: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?
Randal has written an excellent column and shown how to deal with such needs. Have a look to http://www.stonehenge.com/merlyn/LinuxMag/col39.html HTH, Jos�. **** DISCLAIMER **** "This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. This email is not intended to create or affect any contractual arrangements between the parties. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by other persons than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer". Thank you for your cooperation. For further information about Proximus mobile phone services please see our website at http://www.proximus.be or refer to any Proximus agent. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
