Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Should loop {} really loop indefinitely?by grondilu (Friar) |
on Oct 07, 2013 at 22:23 UTC ( [id://1057316]=note: print w/replies, xml ) | Need Help?? |
In Perl 6, when you want to idle indefinitely, you should probably write: sleep(Inf);Also, as mentioned above, replacing loop {} by a nop would be just as false as letting it loop forever. 0 * Inf is neither 0 nor Inf.
In Section
Meditations
|
|