Later, through some other forum, I identified about the class Class::Delegator. If I use Class::Delegator then we need to write the hash for each and every sub which will be deligating. I have 150+ such functions which all will be deligated to a single attribute.If your AUTOLOAD solution is working for you, and the Class:Delegator seems like too much work for you, I don't think it makes any sense *now* to change.Please help me to identify whether I should stick with AUTOLOAD or should I move to Class::Delegator class.
If later in the project it turns out you may have to reevaluate this position, you can always do the work then.
In reply to Re: Choosing between AUTOLOAD vs Delegation
by JavaFan
in thread Choosing between AUTOLOAD vs Delegation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |