sultano has asked for the wisdom of the Perl Monks concerning the following question:
I do find the lines perfectly fine as you see above...
HOWEVER, what I need and don't know how to do is the following;
If within each of those lines, the (60s) changes to another number, I want to return an error code?;
If it's let's say (300s), exit and return one error code;
if it's let's say (600s), exit and return second error code;
I'd appreciate the help! thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: return code for finding a keyword within a line
by FunkyMonk (Bishop) on Oct 19, 2007 at 16:03 UTC | |
|
Re: return code for finding a keyword within a line
by meraxes (Friar) on Oct 19, 2007 at 14:58 UTC | |
|
Re: return code for finding a keyword within a line
by eff_i_g (Curate) on Oct 19, 2007 at 15:11 UTC | |
|
Re: return code for finding a keyword within a line
by perlofwisdom (Pilgrim) on Oct 19, 2007 at 19:34 UTC | |
by sultano (Initiate) on Oct 19, 2007 at 20:56 UTC |