http://www.perlmonks.org?node_id=332994


in reply to Perl Idioms Explained - my ($foo, $bar) = @{shift(@_)}{qw/ -foo -bar /}

My first thought on reading just the title of this piece was "Gawd! Who says that!" and then I opened the node. Whose perl have you been reading that this looked like an idiom to you?
  • Comment on Re: Perl Idioms Explained - my ($foo, $bar) = @{shift(@_)}{qw/ -foo -bar /}

Replies are listed 'Best First'.
Re: Re: Perl Idioms Explained - my ($foo, $bar) = @{shift(@_)}{qw/ -foo -bar /}
by demerphq (Chancellor) on Mar 01, 2004 at 21:59 UTC

    I bet it was CGI.pm


    ---
    demerphq

      First they ignore you, then they laugh at you, then they fight you, then you win.
      -- Gandhi