http://qs321.pair.com?node_id=11125501


in reply to Re: Dynamically generate setter/getter methods [Updated]
in thread Dynamically generate setter/getter methods

The AUTOLOAD approach has some caveats to be aware of:

1. It will be marginally slower because each call to the accessor will search the inheritance tree before calling AUTOLOAD

2. Querying the object with can will return a false result, which is probably not what users of the object would expect.