Re: alarm(x) question.

2003-07-14 Thread Kevin Pfeiffer
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > On Sat, 12 Jul 2003, Kevin Pfeiffer wrote: > >> In article <[EMAIL PROTECTED]>, >> [EMAIL PROTECTED] wrote: >> >> Hi, >> >> > I'm kind of new to Perl, so please forgive the question.. >> > >> > I'm trying to use perl to read a file an

Re: alarm(x) question.

2003-07-13 Thread denis
Keven.. This looks really good.. Is it the "eval" that keeps the alarm from kicking the script out of the loop? I can tell I'll have some reading to do in the morning.. On Sat, 12 Jul 2003, Kevin Pfeiffer wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] wrote: > > Hi, > > > I'

Re: alarm(x) question.

2003-07-13 Thread denis
Maybe I'm missing something.. But when the alarm triggers, the program drops out of the loop.. I think this is normal, what I need is for the next line of the file to be read. I'm I wrong here? On 14 Jul 2003, Ramprasad A Padmanabhan wrote: > > On Sat, 2003-07-12 at 20:34, [EMAIL PROTECTED] w

Re: alarm(x) question.

2003-07-13 Thread Ramprasad A Padmanabhan
On Sat, 2003-07-12 at 20:34, [EMAIL PROTECTED] wrote: > This will work, but wont solve the problem of the alarm exiting the loop > before the file has been totaly proccessed. > Seems to me that it is exactly what is wanted > On Sat, 12 Jul 2003, Ramprasad wrote: > > > [EMAIL PROTECTED] wr

Re: alarm(x) question.

2003-07-12 Thread denis
This will work, but wont solve the problem of the alarm exiting the loop before the file has been totaly proccessed. On Sat, 12 Jul 2003, Ramprasad wrote: > [EMAIL PROTECTED] wrote: > > I'm kind of new to Perl, so please forgive the question.. > > > > I'm trying to use perl to read a file and t

Re: alarm(x) question.

2003-07-12 Thread Kevin Pfeiffer
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: Hi, > I'm kind of new to Perl, so please forgive the question.. > > I'm trying to use perl to read a file and then run a program using the > file. I also want to use the alarm(x) function to skip to the next entry > in the files if it tim

Re: alarm(x) question.

2003-07-11 Thread Ramprasad
[EMAIL PROTECTED] wrote: I'm kind of new to Perl, so please forgive the question.. I'm trying to use perl to read a file and then run a program using the file. I also want to use the alarm(x) function to skip to the next entry in the files if it times out. Here's what Ive go so far: open (TESTF

alarm(x) question.

2003-07-11 Thread denis
I'm kind of new to Perl, so please forgive the question.. I'm trying to use perl to read a file and then run a program using the file. I also want to use the alarm(x) function to skip to the next entry in the files if it times out. Here's what Ive go so far: open (TESTFILE, "< regression") || d