Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: asterisk pattern

by davido (Archbishop)
on Oct 27, 2011 at 10:54 UTC ( #934103=note: print w/ replies, xml ) Need Help??


in reply to asterisk pattern

perl -e 'print qq/  *\n **\n***\n **\n  *\n/;'

Dave


Comment on Re: asterisk pattern
Download Code
Re^2: asterisk pattern
by Monk_perl on Oct 27, 2011 at 10:57 UTC
    I already know that
      and its not a mirror image

        Ok, so in the CB you have expressed now that you want to do it using a for loop, and we also managed to ascertain that this is homework.

        I don't mind helping with homework, but the first step has to be the step YOU take. You show us the code you've written so far to get started on the task, and then ask us to help with the step that you are stumbling on. Then we give a thoughtful answer. That's sort of how the learning process works.


        Dave

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2014-07-14 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (268 votes), past polls