Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: asterisk patternby davido (Cardinal) |
on Oct 27, 2011 at 11:12 UTC ( [id://934112]=note: print w/replies, xml ) | Need Help?? |
Would your teacher accept this? perl -E 'say for (" *", " **", "***" )[0,1,2,1,0]'(Probably not, but it might be worth the 'F' just to see the look on your teacher's face.) Dave
In Section
Seekers of Perl Wisdom
|
|