> >>>>> "Curtis" == Curtis Poe <[EMAIL PROTECTED]> writes:
>
> Curtis> my $foo_count = scalar @{[param('foo')]};
>
> That's nice, but I prefer:
>
> my $foo_count = () = param('foo');
>
> Less typing, less work for the machine. Less noise. More magic,
> though. Oops, arguable on that. :)
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. -
Let me guess ... param('foo') is assigned to a list ... the list is assigned
to $foo_count in a scalar context so the number of elements are returned.
Right?
Glenn Tillema [EMAIL PROTECTED]
ADC Telecommunications, Inc.
PO Box 1101, MS 508
Minneapolis, MN 55440-1101
Learn about ADC - The Broadband Company - www.adc.com