Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

[RFC] File::Replace

by haukex (Monsignor)
on Sep 20, 2017 at 09:50 UTC ( #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
Node Status?
node history
Node Type: perlmeditation [id://1199720]
Approved by davies
Front-paged by Discipulus
help
Chatterbox?
marto is a stupid operator :P

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2017-10-24 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (287 votes). Check out past polls.

    Notices?