![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Don't print on the last loopby jdhedden (Deacon) |
on Jun 13, 2005 at 14:13 UTC ( [id://466169]=note: print w/replies, xml ) | Need Help?? |
The easiest way is to move the comma printing to the front of the loop, and add a flag to control printing it:
Remember: There's always one more bug.
In Section
Seekers of Perl Wisdom
|
|