Welcome to the Monastery | |
PerlMonks |
RE: (chromatic) Re: Deleting a line from a fileby vkonovalov (Monk) |
on Jul 14, 2000 at 13:26 UTC ( [id://22523]=note: print w/replies, xml ) | Need Help?? |
As we know from perl documentation, this is strongly deprecated to use both print and syswrite to the same filehandle.
It is much safer to either reopen filehandle in a different way, or suspend writing until exact output is known (for example use stack). It is often to not do undesireable things instead of doing them and then trying to undo.
In Section
Seekers of Perl Wisdom
|
|