Just another Perl shrine | |
PerlMonks |
Re^4: Need a little help appending linesby shmem (Chancellor) |
on Sep 12, 2007 at 21:23 UTC ( [id://638684]=note: print w/replies, xml ) | Need Help?? |
Precaution against data loss is an entirely different thing, though related.
But that concern doesn't justify marking in-place edits as bad idea, more so generally.
Perl wouldn't have the -i switch if doing in-place edits wasn't a good idea. Generally speaking. --shmem
In Section
Seekers of Perl Wisdom
|
|