in reply to Re^2: Missing $ on loop variable at measurements2.pl line 69.
in thread Missing $ on loop variable at measurements2.pl line 69.
this happens because you haven't assigned any value to $person_count (only to $vision_total).
try changing my ($vision_total,$person_count)=0; to my ($vision_total,$person_count)=(0,0);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"one who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever."
mk at rio dot pm dot org
try changing my ($vision_total,$person_count)=0; to my ($vision_total,$person_count)=(0,0);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"one who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever."
mk at rio dot pm dot org
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Missing $ on loop variable at measurements2.pl line 69.
by Yoda_Oz (Sexton) on Sep 08, 2006 at 13:21 UTC |
In Section
Seekers of Perl Wisdom