in reply to ..."while" i do perl...

You can do
while(blah)
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 by
while(blah) { print "Bareword works\n"; }
(produces an infinite loop)

Replies are listed 'Best First'.
(tye)Re: ..."while" i do perl...
by tye (Sage) on Jan 29, 2001 at 06:27 UTC
    sub blah { return } while( blah ) { print "Barewords aren't always true.\n"; }

    Just an exception. (:

            - tye (but my friends call me "Tye")