Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: sed command with variable in perl

by AnomalousMonk (Archbishop)
on Aug 14, 2017 at 21:40 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-25 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found