Help for this page

Select Code to Download


  1. or download this
    perl -naF, -e "$t += $F[1]; eof and print $t;" siteperf.txt
    
  2. or download this
    while ( <> ) {
        @F = split ',';
    ...
        eof and print $t;
    }
    # Usage: perl mytally.pl siteperf.txt
    
  3. or download this
    perl -naF, -e"$t+=$F[1];eof&&die$t" test.txt