On Sep 30, 2014, at 4:19 PM, David Precious wrote: > So, e.g.: > > my %fields = map { $_ => shift @record } @{$self->{'FIELDNAMES'}}; > > ... would make sense, because you're using map to produce the data you > want, rather than using it instead of a for loop.
Thanks, David. That was an excellent explanation! As usual, I stumbled across an old thread on PerlMonks after I posted my question. :\ It was a good read, however, and it's helped to clear up my understanding of map. If anyone else is interested, it's here: http://www.perlmonks.org/?node_id=296742 However, David's response was pretty much everything that was in the thread, but in a nutshell. Frank SurfShopCART https://github.com/surfshopcart/surfshop -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/