Help for this page

Select Code to Download


  1. or download this
    open my $fh, "<", $file or die $!;
    while (<$fh>){
      my ($key,$val) = split /\t/;
      substr($bin,$key*4,4,pack("N",$val));
    }
    
  2. or download this
    substr($bin,$_*4,4,pack ("N",0)) for (0..$last_val);