Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: while loop question

by Freezer (Sexton)
on Sep 06, 2012 at 13:34 UTC ( #992087=note: print w/replies, xml ) Need Help??

in reply to Re: while loop question
in thread while loop question

Nice ideas. The trouble is, as well as wanting to be able to say last LINE (or LOOP) I want to be able to say  next LINE if $1 < $start_point; and your solution doesn't offer that possibility.

Replies are listed 'Best First'.
Re^3: while loop question
by RichardK (Parson) on Sep 06, 2012 at 14:56 UTC

    Of course it does :). It works in just the same way as using next/last in any nested loops.

    OUTER: { INNER: while(1) { next INNER if this(); last OUTER if that(); } }

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2022-01-25 19:27 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (67 votes). Check out past polls.