Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Tie::File Deleting Lines Including "\n"by sk (Curate) |
on Oct 04, 2005 at 20:42 UTC ( [id://497396]=note: print w/replies, xml ) | Need Help?? |
from perldoc -f delete
The array has not shrunk in size.
If it is just the second element (index = 1) then you can also do this simple assignment and shift. If you want to move around quite freely use splice. infile
outfile
In Section
Seekers of Perl Wisdom
|
|