in reply to
Speeding-up OO accessor methods
You improve it by using a hash and if one day you want it to be something else then you will just tie the hash to an OO implementation.
To tie it all you need to do is provide a class with the OO interface Perl is looking for, then call tie on the data structure you wish to tie.
Note that the correct documentation is in perldoc perltie - and this is one area where Perl has improved significantly over releases so looking at your local documentation Really Matters On This One.