in reply to Re: Re: for loop over large BLOCK keeps failing
in thread for loop over large BLOCK keeps failing
would print nothing, because $tmp is not defined. Of course, you meant to print $temp, but if you don't use strict, this error will go unnoticed by Perl and you may miss it. This example is trivial, but if you had 100 lines of code, it could easily occur!my $temp = 'hello'; print $tmp;
cLive ;-)
|
|---|