Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How do I end a while loop early?

by LanX (Canon)
on May 07, 2013 at 23:50 UTC ( #1032545=note: print w/ replies, xml ) Need Help??


in reply to How do I end a while loop early?

You can exit from a while loop early with last, but I really don't understand what you are doing there with a while-loop...

Cheers Rolf

( addicted to the Perl Programming Language)


Comment on Re: How do I end a while loop early?
Re^2: How do I end a while loop early?
by davido (Archbishop) on May 08, 2013 at 00:25 UTC
      > He's trying to continue prompting for a login until the user is authorized

      Within a CGI with a while loop???

      Does CGI.pm implement continuations turning HTTP state-machines inside-out?

      Cheers Rolf

      ( addicted to the Perl Programming Language)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2015-07-06 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls