Re: New Quiz: "What does this code do?" (1-December-2006)
Charles Abney <[email protected]> Wed, 13 Dec 2006 14:15:40 -0800
| Newsgroups | gmane.comp.lang.perl.qotw.discuss |
|---|---|
| Message-ID | <[email protected]> |
Randal L. Schwartz wrote:
> my @addressline = grep { /^addressline/ and defined param($_) } param();
>
> That's how I'd do that instead. To use them, you're gonna need to go
> back to the full $prefix form anyway!
yabut... then (to use my example earlier) you'll also grab the values
for 'radio-googoo' and 'radio-gaga', which are functionally different
from radio01 - radio20