On May 15, 2005, at 2:30 PM, Adam wrote:

I never said otherwise.  I said you can have optional args in lots of
other languages too, as Jason seemed to think @_ allows optional args,
while languages using named args don't.

What I was saying is that in almost every Perl program I've written or read, it's unnecessary. Because @_ can accept any number of objects of any type, you can pass in whatever you want (scalar, arrayref, hashref, etc) as long as the function understands how to handle the null arguments. I can understand why named args are beneficial to you, but I hardly see the lack of them in Perl as the inefficiency you claim it to be.


--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net



Reply via email to