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
In reply to Re^5: Missing $ on loop variable at measurements2.pl line 69.
by Nevtlathiel
in thread Missing $ on loop variable at measurements2.pl line 69.
by Yoda_Oz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |