I am trying to start on a specific line of code and read a sub string of that code and also read the next line in the sequence and a sub string of that line. If either of the values are false then do something.
I am using the following code: for(my $i=0; $i<22; $i++){<WORKFLOW>}; #This will put you at row 23.---- $_=<WORKFLOW>; my $line=$_; my $nextline=$line++; if ((substr($line, 42, 7) eq "Running") || (substr($nextline, 42, 7)eq "Running")) Can anyone see what I am doing in correct? Thanks Lance Prais -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]