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

[RFC] File::Replace

by haukex (Archbishop)
on Sep 20, 2017 at 09:50 UTC ( [id://1199720]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use File::Replace 'replace2';
     
    ...
    }
    close $infh;   # closing both handles will
    close $outfh;  # trigger the replace
    
  2. or download this
    #!/usr/bin/env perl
    use warnings;
    ...
    close $ifh;
    close $tfh;
    die "Marker not found" unless $found;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1199720]
Approved by davies
Front-paged by Discipulus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-16 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found