Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Search and replace query

by heeru (Initiate)
on Aug 26, 2011 at 09:58 UTC ( #922557=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $fileName = shift;
      open(HND, $fileName) or die "Can't open $fileName: $!";
      @fileArr = <HND>;
    ...
      open(HND, ">$fileName") or die "Cant open for writing $fileName: $!"
    +;
      print HND @fileArr;
      close(HND);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://922557]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2019-12-15 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?