<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Googling for "hash slice" should get you what you need.<br></div><div><br></div><div>-Kent</div><div><br></div><div>On Sun, May 17, 2020, at 11:49 AM, Jay S wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>Hi Perl mongers, I'm not sure if this list is still on|active.<br></div><div><div>I hope everyone is doing well and staying sane.<br></div><div>I haven't programmed in a long time and can't remember stuff.  How do make a list out of a hash?<br></div></div><div><br></div><div>Instead of:<br></div><div><div>my $ClubID = $data{ClubID};<br></div><div>my $GameCode   = $data{GameCode};<br></div><div>my $DateStarted      = $data{DateStarted};<br></div><div>my $GameType      = $data{GameType};<br></div></div><div><br></div><div>I'd like to do something like this but can't remember the proper incantation:<br></div><div>my ($ClubID, $GameCode, $DateStarted, $GameType) = @data(qw[ClubID GameCode DateStarted GameType]);<br></div><div><br></div><div>Thanks<br></div><div>Jay<br></div></div><div>_______________________________________________<br></div><div>Chicago-talk mailing list<br></div><div><a href="mailto:Chicago-talk@pm.org">Chicago-talk@pm.org</a><br></div><div><a href="https://mail.pm.org/mailman/listinfo/chicago-talk">https://mail.pm.org/mailman/listinfo/chicago-talk</a><br></div><div><br></div></blockquote><div><br></div></body></html>