Can someone please post me a way of converting a hex number to it's decimal equvalent using perl.
In a UNIX shell script, I would have a variable set. eg.
.....and then I would like perl to take this variable as input and output a new variable with decimal equivalent. ie. dec_nbr="10"