... but using AUTOLOAD inside OOP is frowned upon.
See for instance Perl Best Practices where the problem of delegating between different AUTOLOADs in the inheritance tree is described.
You'll also need an explicit sub DESTROY to avoid crazy AUTOLOAD calls when your object reaches it's end of life.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Best way to track an error string in module?
by LanX
in thread Best way to track an error string in module?
by linxdev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |