Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: sed command with variable in perl

by AnomalousMonk (Bishop)
on Aug 14, 2017 at 21:40 UTC ( #1197384=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    
    rename $filename_in, "$filename_in.bak" or die "renaming '$filename_in
    +': $!";
    rename $filename_out, $filename_in      or die "renaming '$filename_ou
    +t': $!";
    
  2. or download this
    c:\@Work\Perl\monks\samira_saber>dir
     Volume in drive C is Acer
    ...
    c:\@Work\Perl\monks\samira_saber>fc topol1.au topol1.top.bak
    Comparing files topol1.au and TOPOL1.TOP.BAK
    FC: no differences encountered
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1197384]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-01-24 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?