
japhy
Enthusiast
/ Moderator
Jun 21, 2000, 11:12 AM
Post #4 of 5
(11942 views)
|
If you are going through a file, I'd suggest: <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> open FILE, "file"; while (<FILE> ) { next if 5 .. 15; # skip lines 5 through 15 print; } close FILE; # or open FILE, "file"; while (<FILE> ) { next if /<html>/ .. m!</html>!; # skip all lines between open and close <html> tags print; } close FILE; </pre><HR></BLOCKQUOTE> ------------------ MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve
|