|
|
| No such thing as a small change | |
| PerlMonks |
Counter in foreach loopby RustyShackelford (Initiate) |
| on Dec 05, 2009 at 22:38 UTC ( #811275=perlquestion: print w/ replies, xml ) | Need Help?? |
|
RustyShackelford has asked for the
wisdom of the Perl Monks concerning the following question:
My counter won't increment and I dont know why, here is my code:
The code outputs: Why does count only increment once instead of 3 times, once for each line??? Please help 20091208 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||