Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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


Comment on Re: asterisk pattern
Download Code
Replies are listed 'Best First'.
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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2015-11-25 09:59 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (672 votes), past polls