Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: While loop does not terminate

by Corion (Patriarch)
on Dec 13, 2020 at 17:25 UTC ( [id://11125125]=note: print w/replies, xml ) Need Help??


in reply to While loop does not terminate

Instead of logging where you are, consider also logging the values that contribute to the loop condition:

while (($status = gv() eq 'initializing')) { print "stuck in loop with status [$status], waiting for 'initializin +g'\n"; }

Maybe it is initialising, or there is whitespace at the end...

Log In?
Username:
Password:

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

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

    No recent polls found