hex2dec.pl to HTML.

index -|- end

Generated: Mon Aug 29 19:34:40 2016 from hex2dec.pl 2015/02/22 303. text copy

#!/usr/bin/perl
# hex2dec.pl - 20150222
use strict;
use warnings;

if (@ARGV) {
    while (@ARGV) {
        my $hex = pop @ARGV;
        my $dec = hex($hex);
        print "hex $hex = dec $dec\n";
    }
} else {
    print "Usage: $0 hex - enter hex to convert to a decimal\n";
}
exit(0);

index -|- top

checked by tidy  Valid HTML 4.01 Transitional