For

for ^5 {

	for 0..$_ {
		print "*";
	}
	
	print "\n";

}

or using only one for loop:

say '*' x $_ for 1..5;

or without using any loops at all:

([\~] "*" xx 5).join("\n").say;

Last updated