Problems? Is your data what you think it is? | |
PerlMonks |
Re: while ()by bofh_of_oz (Hermit) |
on Jun 07, 2005 at 17:06 UTC ( [id://464397]=note: print w/replies, xml ) | Need Help?? |
I intended to use while (1), honest! <grin> It is quite interesting to see that sometimes mistyping can lead to unexpected discoveries in the language syntax... Surprisingly, I couldn't find anything about this syntax in Perl or C on the Net... But from (working, heh) code, it seems that an empty condition is evaluated as true... Here's what I found that might be related. It's from description of perl5db, the Perl debugger:
--------------------------------
In Section
Seekers of Perl Wisdom
|
|