Cool. Experimentation is a good thing in my book. If you haven't picked up a copy of Object Oriented Perl, I do recommend it as a guide to your experimentation. It doesn't cover some of the newer ideas we're talking about here, but the fundamental concepts and thinking all apply. Also, you may find a wealth of useful ideas in the Perl Design Patterns book/wiki. Best of luck,
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.