in reply to Re^4: Help me understand this code?
in thread Help me understand this code?

The hash is being defined in this line:
$m{$_} = ++$i for qw[Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec];
After having executed this statement (or maybe I should say this loop), the following structure exists in memory:
( Jan => 1, Feb => 2, ...)
Please beware that this code is fairly sloppy, with no declaration of variables, it is not an example to be followed.

Replies are listed 'Best First'.
Re^6: Help me understand this code?
by ansabhailte (Novice) on May 22, 2015 at 16:12 UTC
    Ok, I get it now. Yeah, I'm still extremely new to Perl but I would never use those variable names in Bash...