Normally, you alway do this to print the same text n-time:
[src]
for($i=0;$i<10;$i++)
{
print "A";
}
[/src]
Then the result is 10 time printed out text.
But instead of doing this try this way
Assumed you are in linux shell or window console:
[src]
$ perl -e 'print "A"x10'
[/src]
Then you will get the same result as the first one.