Michael Lazzaro wrote:
>
> decimal notation:
> 123 # int 123
> 0123 # int 123
[...]
> 0c0123 # oct
[...]
> - need to verify that 0b1, 0c1, 0x1 are still allowed
Found a problem:
perl -e "print 0123"
gives: 83
perl -e "print 0c0123"
gives:
Bareword found where operator expected at -e line 1, near "0c123"
(Missing operator before c0123?)
syntax error at -e line 1, next token ???
Execution of -e aborted due to compilation errors.
In perl5, octel is signified by the leading zero. There is no 0c0123
notation.
--
Garrett Goebel
IS Development Specialist
ScriptPro Direct: 913.403.5261
5828 Reeds Road Main: 913.384.1008
Mission, KS 66202 Fax: 913.384.2180
www.scriptpro.com [EMAIL PROTECTED]