Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: perl open mode

by Sidhekin (Priest)
on Oct 24, 2007 at 00:22 UTC ( #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? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-10-05 16:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (24 votes). Check out past polls.

    Notices?