Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: asterisk pattern

by Ratazong (Prior)
on Oct 27, 2011 at 12:45 UTC ( #934136=note: print w/ replies, xml ) Need Help??


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/ /; }


Comment on Re: asterisk pattern
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://934136]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-11-26 21:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (174 votes), past polls