more useful options | |
PerlMonks |
Re: Insert a meter only onceby SuicideJunkie (Vicar) |
on Nov 20, 2015 at 17:27 UTC ( [id://1148249]=note: print w/replies, xml ) | Need Help?? |
Your program will be mostly in perl rather than french, so it should be ok ;) This is just guessing; perhaps you mean 'tallies' or 'statistics' or 'summary'. I imagine you have a loop to iterate over the words and print them. It sounds like you have the print statement for the "meter" inside the loop, so it prints each time. Simply moving it outside the loop will make it only run once.
In Section
Seekers of Perl Wisdom
|
|