Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Re: Perl Q


Russell Davies wrote:
> 
> ; apparently not. from perlref(1p):
> ;
> ;            Note that taking a reference to an enumerated list is
> ;            not the same as using square brackets--instead it's
> ;            the same as creating a list of references!
> ;
> ;                @list = (\$a, \@b, \%c);
> ;                @list = \($a, @b, %c);      # same thing!
> ;
> ; (i thought the same as you too)
> 
> you dared doubt me?! infidels! ;)

That's quite K3W1!  !\() is distributive!

Thanks, Russell. You've demonstrated perl's real power.

<flame-shades>
	I had assumed the obvious
</flame-shades>


--
Rick Welykochy || Praxis Services Pty Limited