Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Regex and writing lines in file

by Random_Walk (Prior)
on May 01, 2013 at 11:38 UTC ( [id://1031550]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # untested
    seek  $fh, 0, 0; # rewind to the start of the file
    print $fh $data; # Write the entire file
    close $fh;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-23 19:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found