westrock2000 has asked for the wisdom of the Perl Monks concerning the following question:
Which will print ABCprintf ("%c" x 3,65,66,67);
Thanks$a = chr(65); $b = chr(66); $c = chr(67); print ($a x 2, $b x 3, $c x 4);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Printf : How to repeat characters?
by eyepopslikeamosquito (Archbishop) on Oct 03, 2010 at 04:28 UTC | |
by westrock2000 (Beadle) on Oct 03, 2010 at 04:34 UTC | |
|
Re: Printf : How to repeat characters?
by james2vegas (Chaplain) on Oct 03, 2010 at 04:41 UTC | |
|
Re: Printf : How to repeat characters?
by AnomalousMonk (Archbishop) on Oct 03, 2010 at 06:01 UTC |