3 # tack error codes onto the end of a file
6 open(ERR
,$ARGV[0]) || die "unable to open error file '$ARGV[0]':$!\n";
10 open(IN
,$ARGV[1]) || die "unable to open header file '$ARGV[1]':$!\n";
16 last if /BEGIN ERROR CODES/;
20 open(OUT
,">$ARGV[1]") || die "unable to open header file '$ARGV[1]':$1\n";