Object-InsideOut - Re: Extra parameter in new constructor

Posted on Fri Jan 26 19:35:23 2007 by jdhedden in response to 4167 (See the whole thread of 2)
Re: Extra parameter in new constructor
You only get an error if you're missing a mandatory arg, or if you supply an optional arg (as specified in an :InitArgs hash) without a 'Field' designation and without an :Init subroutine.

There's just no way to generally tell which parameters are used by which classes and in what manner. Further, if a class has no :Args or :InitArgs but does have :Init, then it gets all args.
Write a response