Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: getting a while loop to terminate

by Anonymous Monk
on Apr 18, 2012 at 04:38 UTC ( #965614=note: print w/ replies, xml ) Need Help??


in reply to Re^3: getting a while loop to terminate
in thread getting a while loop to terminate

My shell doesn't interpolate $what, as you can see from the session I posted, use single quotes if your shell interpolates doubles

Or you could even omit  $what =

Whether it is assigned to a variable or not , '0' is always false


Comment on Re^4: getting a while loop to terminate
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (17)
As of 2015-07-01 19:19 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 (17 votes), past polls