>First, please don't use map in a void context for its side effects.

Uh oh... What side effects?  I use map like this all the time!  What dread
is looming in my future?


>Just loop it:
>
>    sub subname {
>      my %values;
>      while (@_ >= 2) {
>        my ($key, $value) = splice @_, 0, 2;
>        $values{uc $key} = $value;
>      }
>      ...
>    }

Thanks!  As is often the case, it looks obvious now that I see it.






-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to