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

You can use
while ($var ne 'blah'){ do stuff }
or
while($var){ read it }
But I have never seen a bareword in there which leads me to believe that you can't have it in there. When you think about it though, what would a word in there do? Monks?

Wanna be perl hacker.
Dave AKA damian

I encourage you to email me