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 reply to Re: asterisk pattern
by davido
in thread asterisk pattern
by Monk_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |