Owen wrote:
On Fri, 25 Feb 2005 15:55:21 -0700
"Bret Goodfellow" <[EMAIL PROTECTED]> wrote:

# while1.pl
use strict ;
use warnings ;

$i = 1;

while ($i < 10) {
print "I am at $i\n";
i++;
}
# while1.pl

Global symbol "$i" requires explicit package name at

Try removing the 'use strict;' statement. See what happens

That is like saying that you can "fix" the grinding noise in your car's engine by turning up the stereo so that you can't hear it. :-)


John -- use Perl; program fulfillment

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to