On Fri, 26 Nov 2004 17:47:25 +1100, David Clarke wrote:
> As well, if the large number starts with 0, I get an "Illegal octal 
> digit '8' at test.pl line 2, at end of line".
Sorry, forgot this one. A number can't start with a zero (except if it is in 
front of a comma). If a number starts with a zero, perl things you are trying 
to compute an octal (uses base 8 and only the numbers from 0 to 7) number. 
Octals don't have any number above 7, so you get an error message.

/oliver/

--
"If you believe everything you read, you better not read." -Japanese Proverb


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to