On Wed, 4 Jul 2001, Guillaume Cottenceau wrote:

> While in the following situation it behaves as expected:
>
> [gc@obiwan ~] ruby -e 'p 067'
> 55
> [gc@obiwan ~] ruby -e 'p 068'
> -e:1: parse error

Actually this isn't base-related.  The reason it doesn't parse is that
you've got two numbers in a row (06 and 8).

Compare:

  candle:~$ ruby -e 'p 06 8'
  -e:1: parse error
  candle:~$ ruby -e 'p 123 456'
  -e:1: parse error


David

-- 
David Alan Black
home: dblack / candle.superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav