However using strict.pm will catch the vast majority of these errors. Which is why it is good to be in the habit of writing strict-compliant code and then to use strict. For instance in this case:
foreach my $company (@companies) { # yada, yada }
In reply to Re (tilly) 2: If statement in Foreach loop
by tilly
in thread If statement in Foreach loop
by cdherold
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |