Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    #converter.plx
    ...
    print "Please input a hex no. to convert to dec. :";
    my $value = <STDIN>;
    print hex("$value"), "\n";
    
  2. or download this
    Illegal hexadecimal digit '
    ' ignored at -path- line 7, <STDIN> line 1.