Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    ABC-M-0123456
    ABCD-00654321
    00000123456
    
  2. or download this
        if ( $num !~ /^\d{1,7}$/ or
             $pfx !~ /^(?: ABC(?:D|-M)- |
    ...
            warn "Bad input at line $.\n";
            next;
        }