... and, unless you want to print the list of months on a single line, without spaces, you may want to print (or, with a recent Perl, say) thru a for/foreach loop:
...(your lines 1 - 4)... for my $month(@month) { say $month; }
In reply to Re: print array
by ww
in thread print array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |