[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Iternating over multiple lists



Worth remembering:

In article <80tpir$rbh$1@monet.op.net>, Mark-Jason Dominus wrote:
> 
>       sub reduce (&$@) {
>         my $code = shift;
>         local $a = shift;
>
>         for (@_) {
>           local $b = $_;
>           $a = &$code;
>         }
>
>         $a;
>       }


-- 
John Porter


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe