Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    
    untie @lines;
    
  2. or download this
     $ perl test.pl test.file
    File has 4 lines
    ...
    File has 2 lines
    replacement line here
    another new line
    
  3. or download this
     $ cat test.file
    replacement line here
    another new line
     $