Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Missing $ on loop variable at measurements2.pl line 69.

by mk. (Friar)
on Sep 08, 2006 at 13:10 UTC ( #571958=note: print w/replies, xml ) Need Help??


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

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
    thank you.. i just learnt a lot from your post!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://571958]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2022-01-17 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (51 votes). Check out past polls.

    Notices?