In Python, if I do this:
print \"4\" * 4
I get
> \"4444\"
In Perl, I\'d get
> 16 >
In Perl, you want to use the "x" operator.
Note the difference between
"4" x 4
and
("4") x 4
The former produces a repeated string:
"4444"
the latter a repeated list:
("4", "4", "4", "4")