[Chicago-talk] is this still on?

Jay S me at heyjay.com
Sun May 17 09:49:48 PDT 2020


Hi Perl mongers, I'm not sure if this list is still on|active.
I hope everyone is doing well and staying sane.
I haven't programmed in a long time and can't remember stuff.  How do make
a list out of a hash?

Instead of:
my $ClubID = $data{ClubID};
my $GameCode = $data{GameCode};
my $DateStarted = $data{DateStarted};
my $GameType = $data{GameType};

I'd like to do something like this but can't remember the proper
incantation:
my ($ClubID, $GameCode, $DateStarted, $GameType) = @data(qw[ClubID GameCode
DateStarted GameType]);

Thanks
Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20200517/d9869ca6/attachment.html>


More information about the Chicago-talk mailing list