Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

RE: (chromatic) Re: Deleting a line from a file

by vkonovalov (Monk)
on Jul 14, 2000 at 13:26 UTC ( [id://22523]=note: print w/replies, xml ) Need Help??


in reply to (chromatic) Re: Deleting a line from a file
in thread Deleting a line from a file

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.

  • Comment on RE: (chromatic) Re: Deleting a line from a file

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://22523]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-26 00:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found