in reply to Re: If statement in Foreach loop
in thread If statement in Foreach loop
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 }
|
|---|