RFC 128: Re: Automatically en-referencing arguments

[email protected] ("Jeremy Norris") Tue, 31 Jul 2001 17:39:30 -0400
Newsgroups perl.perl6.language.subs
Organization Rebel.com
Message-ID <[email protected]>
What is the advantage of automatically en-referencing arguments?

I can see no clear advantages other than marginally less typing, 
however, you will have to explicitly en-reference the argument when the 
argument is a reference to a reference anyway.

A disadvantage is significantly less clarity of the actual function 
call.  When you see a function argument, you can't determine whether it 
is passed by reference or value unless you go and look at the function 
signature.

Could someone please explain to me what the advantages are?  Thanks.