hex

NAME

hex - convert a string to a hexadecimal number


SYNOPSIS

hex EXPR


DESCRIPTION

Interprets EXPR as a hex string and returns the corresponding decimal value. (To convert strings that might start with 0 or 0x see oct() .) If EXPR is omitted, uses $_ .