Moron has asked for the wisdom of the Perl Monks concerning the following question:
And this is the error it produced:much: do ~0;
Curiously, adding '. "\n" after the 0 made it compile ok. But having found nothing relevant in the documentation, it does make me wonder what is happening here.Perl v18446744073709551615.0.0 required--this is only v5.6.1, stopped +(did you mean v18446744073709551615.0.0?) at -e line 1.
Update: By experiment, ~0 seems to produce a large (max?) integer value. So it looks like it is behaving like a "require ~0;", which reduces the mystery while still being unexpected.
-M
Free your mind
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Supported in far future version?
by Mutant (Priest) on Dec 15, 2005 at 13:19 UTC | |
| |
|
Re: Supported in far future version?
by blazar (Canon) on Dec 15, 2005 at 14:03 UTC | |
| |
|
Re: Supported in far future version?
by ambrus (Abbot) on Dec 15, 2005 at 22:23 UTC |