Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: perl open mode

by Sidhekin (Priest)
on Oct 24, 2007 at 00:22 UTC ( [id://646789]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open (A, '+<', "somefile.html") or die $!;
    s/a/b/g for my @records = <A>;
    seek(A, 0, 0);
    print A @records;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-03-29 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found