![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: print a backspace in nph-"HTML"?by VSarkiss (Monsignor) |
on Dec 04, 2004 at 15:14 UTC ( #412412=note: print w/replies, xml ) | Need Help?? |
I don't know enough about textareas to answer your main question, but the canonical way to do the $count thing is with modulo arithmetic: Or you may want to use == 1 or == 3, depending on what effect you want to achieve. You can read about %, the modulus operator, in perlop.
In Section
Seekers of Perl Wisdom
|
|