Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: "last" not really outside loop block

by mscharrer (Hermit)
on Jun 22, 2009 at 15:59 UTC ( [id://773672]=note: print w/replies, xml ) Need Help??


in reply to Re^2: "last" not really outside loop block
in thread "last" not really outside loop block

Try the follwing:

Instead of:

do { ... } while (expr);
use:
while (1) { ... last unless (expr); }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-19 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found