On Wed, Nov 13, 2002 at 03:00:07PM -0600, Jonathan Scott Duff wrote:
> On Wed, Nov 13, 2002 at 12:33:09PM -0800, Larry Wall wrote:
> > :   1_2_3_4______5___6   (absurd, but doable)
> > 
> > Nope, _ is allowed only between digits (counting a-f as digits in hex).
> 
> Ah, good.  It has always mildly annoyed me in prior perls that 1__2
> was a literal 12.

In that case you should turn on warnings.  Then you can be mildly
annoyed both by the result and by the warning ;-)

$ perl -Mwarnings=FATAL,syntax -e 'print 1__2'
Misplaced _ in number at -e line 1.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

Reply via email to