in reply to
Re^2: getting a while loop to terminate
in thread getting a while loop to terminate
I guess I don't follow you here:
$ perl -le " die 666 if q/0/ "
$ perl -le " die 666 if $what = q/0/ "
syntax error at -e line 1, near "if ="
Execution of -e aborted due to compilation errors.
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
I make decisions, and my brain carries them out
My brain makes the decisions, and I observe them (if I'm lucky)
I make some decisions, and my brain makes others
My spouse makes decisions and I and my brain carry them out
I wrote a program to relieve me and my brain from the burden of decision-making
The black-helicopter people project the decisions into my brain and then I do as ordered
Results (356 votes),