Repeat a string
print "ha" x 5(Note that the x operator isn't quite the same as in Perl 5: it now only creates strings. To create lists, use xx.)
Last updated
Was this helpful?
print "ha" x 5(Note that the x operator isn't quite the same as in Perl 5: it now only creates strings. To create lists, use xx.)
Last updated
Was this helpful?