How do I fork a process and return results to the user?

2015-08-30 Thread G M
Hi, Can anyone help me with this? I have two scripts, the first one calls the exec command which then invokes the second script. The second script then creates a fork process. The child process in the fork does a webservice query which may take a few minutes to return results. What I want to d

RE: First Mech script: entering a form value (another simple thing no doubt)

2013-03-14 Thread G M
rm value (another simple thing > no doubt) > > On Thu, 14 Mar 2013 16:42:52 + > G M wrote: > > > > > Hi, > > > > Thanks for replying. As far as I understand it will return undef if > > no form is found. The form is there so it should do something I

RE: First Mech script: entering a form value (another simple thing no doubt)

2013-03-14 Thread G M
heers, G :) > Subject: Re: First Mech script: entering a form value (another simple thing > no doubt) > From: jimsgib...@gmail.com > Date: Thu, 14 Mar 2013 09:27:27 -0700 > To: beginners@perl.org > > > On Mar 14, 2013, at 8:27 AM, G M wrote: > > > > > H

First Mech script: entering a form value (another simple thing no doubt)

2013-03-14 Thread G M
Hi all, I managed to get the problem with my script not connecting to the page last night, turned out my web host wouldn't allow it. Got that sorted. Filling in the form should be really simple but I'm getting the following error when trying to set the "acOriginAirport" field, I thought it m

RE: Mechanize: first attempt at scraping (should be something trivial)

2013-03-13 Thread G M
first attempt at scraping (should be something > trivial) > From: dery...@gmail.com > To: iamnotregiste...@hotmail.com > CC: beginners@perl.org > > On Wed, Mar 13, 2013 at 1:08 PM, G M wrote: > > Hi, > > > > Yeah I tried putting a die line in after doing a bit of

RE: Mechanize: first attempt at scraping (should be something trivial)

2013-03-13 Thread G M
attempt at scraping (should be something > trivial) > From: dery...@gmail.com > To: iamnotregiste...@hotmail.com > CC: beginners@perl.org > > On Wed, Mar 13, 2013 at 12:09 PM, G M wrote: > > > > Hi all, > > > > I'm making an attempt at my fir

Mechanize: first attempt at scraping (should be something trivial)

2013-03-13 Thread G M
Hi all, I'm making an attempt at my first screen scraping script. For some reason the script doesn't continue after the invocation of the get method on the last line: use strict; use WWW::Mechanize; use HTML::TokeParser; use Data::Dumper; print "Content-type: text/html\n\n"; print "setting up

Forking question

2012-08-10 Thread G M
Hi, I'm working on a forking process and I need a way to check if any of the processes have failed and if they have restart them. Can anyone point me in the right direction to a tutorial or explanation of how to do this? Thanks in advance, Graeme