[Chicago-talk] is this still on?

Kent Cowgill kent at c2group.net
Sun May 17 10:06:44 PDT 2020


Googling for "hash slice" should get you what you need.

-Kent

On Sun, May 17, 2020, at 11:49 AM, Jay S wrote:
> 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
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> https://mail.pm.org/mailman/listinfo/chicago-talk
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20200517/1360671e/attachment.html>


More information about the Chicago-talk mailing list