Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Should loop {} really loop indefinitely?

by Crackers2 (Parson)
on Oct 09, 2013 at 20:20 UTC ( [id://1057621]=note: print w/replies, xml ) Need Help??


in reply to Should loop {} really loop indefinitely?

Shouldn't loop {} be considered the equivalent of

LABEL: goto LABEL;

i.e. yes the thing you're executing inside the loop is a nop, but that doesn't invalidate the concept of the loop itself.

So looping infinitely seems like the only logical behaviour to me.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1057621]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-25 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found