On Jun 01, 2009 at 18:36, Juha Heinanen <jh(a)tutpro.com> wrote:
Andrei Pelinescu-Onciul writes:
while(1), but you'll always get a warning on
start-up.
If you want to get rid of the warning you could
try
while(! defined $foobar), but it would have a minor performance
impact.
i don't want the performance hit. please remove the warning. i don't
get that kind of warning in other programming languages either.
You don't becaue that are languages were an infinite while() makes
sense. In a sip-router script the while() by itself is strange, and
an infinite while is an abomination :-)
Andrei