Help for this page

Select Code to Download


  1. or download this
    my ($pfmt,$line,@header = ("s50c150");
    sub packlen {
    ...
    }
    read FILE, $line, packlen($pfmt) or die $!;
    @header = unpack $pfmt, $line;
    
  2. or download this
    $ perl -e '$foo="I50a150";print length(pack $foo),$/' 
    350
    $