Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: simple regex question

by CubicSpline (Friar)
on Oct 22, 2001 at 21:20 UTC ( [id://120592]=note: print w/replies, xml ) Need Help??


in reply to simple regex question (parsing and saving a file)

BTW, the other guys didn't mention this, but if you want to open the file for "appending" (meaning adding on to the end of the file, which it sounds like is maybe what you want to do), then do it like this:
open OUT, ">>filename.txt" or die("Can't open file for append!");

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-26 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found