Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

[RFC] File::Replace

by haukex (Abbot)
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2018-07-22 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (454 votes). Check out past polls.

    Notices?