Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    }
    
    # note that skip_zero is no longer necessary.
    
  2. or download this
            # the original code indicates there can never
            # be more than one charge code associated with
    ...
    
            # # for multiple charge codes:
            # push @{ $charge_codes{$src}{$dest} }, $code;
    
  3. or download this
        # # if you know that there is no charge code 0 or
        # # empty string, you could compress that like so:
    ...
        # {
        #     ++$charges_against{$code};
        # }
    
  4. or download this
    # construct the template in a more self-documenting way.
    # this is a list of name => width values.  you can add
    ...
    
        # ...
    }