Question on the function - hex

2012-04-12 Thread Parag Kalra
Why does the output of perl -e "print hex '0x160402'" differs from the output of perl -e "print hex 0x160402" EG: bash-3.2$ perl -e "print hex '0x160402'" 94489281538 $ perl -e "print hex 0x160402" 10189963531576

Re: Question on the function - hex

2012-04-12 Thread Shawn H Corey
On 12-04-12 04:34 PM, Parag Kalra wrote: Why does the output of perl -e "print hex '0x160402'" differs from the output of perl -e "print hex 0x160402" EG: bash-3.2$ perl -e "print hex '0x160402'" 94489281538 $ perl -e "print hex 0x160402" 10189963531576 $ per

Re: Question on the function - hex

2012-04-12 Thread Uri Guttman
On 04/12/2012 04:43 PM, Shawn H Corey wrote: On 12-04-12 04:34 PM, Parag Kalra wrote: Why does the output of perl -e "print hex '0x160402'" differs from the output of perl -e "print hex 0x160402" EG: bash-3.2$ perl -e "print hex '0x160402'" 94489281538 $ perl -e "print