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 You also have another problem with that script, perhaps i++ was a typo? Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>