drodinthe559 has asked for the wisdom of the Perl Monks concerning the following question:
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; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need to skip two lines
by bichonfrise74 (Vicar) on May 05, 2009 at 22:47 UTC | |
by codeacrobat (Chaplain) on May 06, 2009 at 05:52 UTC | |
by drodinthe559 (Monk) on May 05, 2009 at 22:55 UTC | |
|
Re: Need to skip two lines
by Marshall (Canon) on May 05, 2009 at 23:59 UTC | |
|
Re: Need to skip two lines
by spx2 (Deacon) on May 06, 2009 at 02:09 UTC | |
|
Re: Need to skip two lines
by citromatik (Curate) on May 06, 2009 at 07:34 UTC | |
by drodinthe559 (Monk) on May 06, 2009 at 20:11 UTC | |
by linuxer (Curate) on May 08, 2009 at 18:48 UTC |