Suppose I wish to print 1234567890 x 3, and I wish to implement it in a reasonable way as follows:
my @count_to_ten = 0..9;
my $number_ruler = @count_to_ten x 3;
#number_ruler is "101010"
or
my $number_ruler = "@count_to_ten" x3;
#number_ruler is 0 1 2 3 4 5 6 7 8 90 1 .....
Is it possible to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.