Please let me know if anyone can help. Davewhile(<SOURCE>) { my $source = $_; next if ($source =~ m/^(\s)*$/); next if ($source =~ m/^(\s)*$/); #Go through each line until you hit page 1 of sorter 2 if (substr($source,145,16) =~ /Page: 1/) { next; next; if (substr($source,72,9) =~ /Sorter: 2/) { ++$dcount; printf LOGFILE $source; } } }
In reply to Need to skip two lines by drodinthe559
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |