useless brevity Was: Re: SPUG: less noisy spot for

Fred Morris m3047 at inwa.net
Thu Nov 21 23:27:16 CST 2002


>On Thu, Nov 21, 2002 at 06:00:47PM -0800, Fred Morris wrote:
>>[...]
>> eval join( ' && ', map $place->{$_}, ('beer','quiet','udist') );

   eval join( ' && ', @{$place}{'beer','quiet','udist'} );

For some reason taking a slice of a hash reference escaped me the first
time... maybe because it's harder to grok, or is that just me? :-\

--

FWM
m3047 at inwa.net



 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org




More information about the spug-list mailing list