Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    $s = -s "test.txt";
    print "wrote ".length($out)." bytes to test.txt; file size is $s bytes
    +\n";
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
    warn "read $line_count lines from $opt_i, wrote ".scalar(keys %lines).
        " lines to $opt_o\n";