Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: On-the-fly hashref

by eric256 (Parson)
on Sep 28, 2010 at 20:42 UTC ( #862499=note: print w/replies, xml ) Need Help??

in reply to On-the-fly hashref

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/ };

Eric Hodges

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://862499]
[choroba]: BTW, both the bands I play in performed on Friday (at the same event). Quite an exhausting experience.
[Corion]: choroba: Ooof! I can imagine that ;)
[Corion]: I think at a Perl workshop some years ago I gave two talks on the same day and after that decided to only submit one talk per event ;)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-03-27 11:36 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (319 votes). Check out past polls.