in reply to Re^4: Missing $ on loop variable at measurements2.pl line 69.
in thread Missing $ on loop variable at measurements2.pl line 69.
my $number; #at the moment it's uninitialized - it exists, but it +doesn't have a value $number++; #this will print an uninitialized variable warning $number = 6; #now we're getting somewhere! $number++; #this is fine :)
----------
"Write a wise saying and your name will live forever." - Anonymous
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Missing $ on loop variable at measurements2.pl line 69.
by ikegami (Patriarch) on Sep 08, 2006 at 16:43 UTC |