in reply to Re: A refactoring trap
in thread A refactoring trap

No. This is magic in Perl5:
wolverian@noesis:~$ perl -MO=Deparse -e'while (my $foo = <DATA>) { }' while (defined(my $foo = <DATA>)) { (); } __DATA__ -e syntax OK