Help for this page

Select Code to Download


  1. or download this
    print $fh $_ while <$fd>;
    
  2. or download this
    use strict;
    use warnings;
    ...
    tie my  @array, 'Tie::File', $file or die "Cannot tie file '$file': $!
    +";
    unshift @array, 'data';
    untie   @array;