http://www.perlmonks.org?node_id=676792


in reply to Re: Hex Question(s)
in thread Hex Question(s)

That's the question I guess - is there any? Doesn't a hex value normally begin with 0x? And it isn't it normally specified without quotes?
$hex = 0x1234; #prints 4660
as opposed to
$hex = '0x1234'; #prints 0x1234