in reply to Re: use of hex-number in references
in thread use of hex-number in references

I just use "0 + $ref". Maybe that's a holdover from my many years of awk programming.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re^2: use of hex-number in references

Replies are listed 'Best First'.
Re: •Re^2: use of hex-number in references
by Zaxo (Archbishop) on Jun 09, 2004 at 01:59 UTC

    Yes, it makes no difference. It looks like a reference is always unsigned in numeric context, since 0+ gives the same result as 0|, while 0x8nnnnnnn would be negative taken as a 32 bit signed integer.

    After Compline,
    Zaxo