laziness, impatience, and hubris | |
PerlMonks |
Re: removing lines that are in the end of a fileby gsiems (Deacon) |
on Apr 05, 2013 at 19:40 UTC ( [id://1027208]=note: print w/replies, xml ) | Need Help?? |
Another approach using split and join:
Update This only works if there are no additional SIL lines interspersed between the first line and the SILL lines at the end.
In Section
Seekers of Perl Wisdom
|
|