Help for this page

Select Code to Download


  1. or download this
     my (@firms);
    while (defined( my $line = <FH1> ) ){
        chomp $line;            
    ...
        $hash{label} = $label;
        push @firms, \%hash;
    }
    
  2. or download this
    @fields=qw(name64 label location1 subnet support_radius);
    for(my $i=0; $i<=$#firms; $i++) {
      $firms[$i]->{subnet} /= 32;
      $upload .= sprintf "%s\n", join ',', @{$firms[$i]}{@fields};
    }