with blah being an unquoted bareword, but I'm not sure that you'd want to - an unquoted word, as long as it isn't 0, will always evaluate as true, as shown bywhile(blah)
(produces an infinite loop)while(blah) { print "Bareword works\n"; }
In reply to Re: ..."while" i do perl...
by Anonymous Monk
in thread ..."while" i do perl...
by john1987
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |