http://www.perlmonks.org?node_id=934136


in reply to asterisk pattern

So many possibilities! The next one, however requires some human interaction:
use strict; use warnings; print "Ssssshhh! Please turn your monitor first (otherwise the pyramid + might not point to the correct direction).\n"; my $Ss = '*'; my $ss = 2; my $sS = $Ss x $ss; for (0..$ss) { print "\n". $sS. $Ss. reverse $sS; $sS =~ s/\S/ /; }