But is that really a problem? The benefit of leaving the argument list flattened is that duplicates are taken care of automagically when you eventually do the { @_ } in bless { @_ }, $class; If instead you're dealing with a list of references to hashes, you have a lot more work to do in the constructor. Unless the hash arguments are going to get really big, I'd pass them flattened.
In reply to Re: Re: Re: Overloading inherited class methods
by dws
in thread Overloading inherited class methods
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |