Help for this page

Select Code to Download


  1. or download this
    perl -pi.bak -e "$_ = '# ' . $_ if /\btest\b/" filename.txt
    
  2. or download this
    use strict;
    use warnings;
    ...
    }
    
    untie @filelines or die $!;