Not true:
$var is now guaranteed to have a defined value on every iteration, regardless of the file's contents. Granted, there are cases where there is no reasonable default, but, as the programmer, I do still have control over whether $var is defined or not, should I choose to exercise it.while (<FILE1>) { $var = GetVar($_) || $some_reasonable_default; };
In reply to Re^4: Breaking The Rules
by dsheroh
in thread Breaking The Rules
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |