Thanks for the detailed response, Ken. I really appreciate it.
The code I posed was just for ease of reading and I would expect to split the class out to it's own package file when in use
I am working my way though the book "Intermediate Perl" at the moment but I would love to find some real world examples that are simple enough for me to read. I have looked at many packages (from CPAN and other devs) but they are still a little complex for the standard I am at and I find trying to work them out is very time consuming due to their large size
I will battle on though and thanks again for the reply.