Am I understanding this correctly that if I put in the following code the result will be it will start reading on row 23?
For the print output I am getting the following. line: (substr(1, 42, 7) Which leads me to believe that it is starting on line 1. Can anyone see what I am doing wrong? for(my $i=0; $i<22; $i++){<EMAILMGR>}; #This will put you at row 23.---- $_=<EMAILMGR>; my $line=$_; my $nextline=$line++; if (substr($line, 42, 7) eq "Running") { print STDERR "\nline: (substr($line, 42, 7)"; } Else { print STDERR "\nline: (substr($line, 42, 7)"; } -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]