Heres how i would have done it...
my $m = 1; my $hash = { map { $m++ => $_ } qw/Jan Feb Mar Apr May Jun Jul Aug Sep + Oct Nov Dec/ };
In reply to Re: On-the-fly hashref
by eric256
in thread On-the-fly hashref
by oko1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |