--- "Marko P. O. Nippula" <[EMAIL PROTECTED]> wrote:
> > $a.=1while 1
> 
> How about:
> 
> $a++while 1
> 
> - This one is going to take a *little* longer to fill up your memory
> but given infinite time this should do just fine. ;)
> 
> -- Marko P. O. Nippula

There is an assumption here that cross-compatibility with perl 5.6.1
can be ignored.  Ever notice that perl 5.6.1 will just count through
numbers to 32bit precision!

The solution is to use a buildin variable with a string already, and
hence will be treated as a string:

$~++while 1

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

Reply via email to