XP is just a number | |
PerlMonks |
Re: separating every set of textlineby davidj (Priest) |
on Mar 02, 2005 at 05:55 UTC ( [id://435707]=note: print w/replies, xml ) | Need Help?? |
Note that what follows is pretty much a hack, but it might get you started. What it does is 1) grab everything from the line containing the string CITY to the line containing the string FLORIDA (I am assuming that FLORIDA is a header). 2) grabs the first word after CITY and opens it as a text file 3) writes all the lines grabbed as indicated above and prints them to the file. hope this helps, davidj
In Section
Seekers of Perl Wisdom
|
|