> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Date: Thu, 14 Nov 2002 10:28:38 -0800 > From: Michael Lazzaro <[EMAIL PROTECTED]> > > Of course, a key issue is that, in perl5, the treatment of numeric > literals is not at all the same as the treatment of stringified > numerics. For example: > > 0x00ff # hex value ff > '0x00ff' # integer value 0, with trailing 'x00ff' > > I think ways to solve this should be open to discussion. Hopefully > Luke can give us some proposals, since he's writing that part.
The behavior described there should stay. If you want literal-like interpretations of strings, use the C<oct> function. The name of that function should probably be changed to something more appropriate. C<lit>, C<literal>, C<num> (ambiguous?), C<base>, etc.? Luke