Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        $bin_val = sprintf('0x%x', $dec_val) if($dec_val); 
        print "Bin value $temp_reference_value[$i] and Hex value is $bin_v
    +al \n"; 
    }
    
  2. or download this
    Integer overflow in octal number at bintohex.pl line 11.
    Octal number > 037777777777 non-portable at bintohex.pl line 11.
    ...
    Integer overflow in octal number at bintohex.pl line 11.
    Octal number > 037777777777 non-portable at bintohex.pl line 11.
    Bin value 1111111111111111111111111111111 and Hex value is 0xffffffff