Others have answered your question here, so I won't repeat; however.
I will add that you might want to look up Damian Conway's book,
Object Oriented Perl, published by Manning Press. Also, the
tutorials here are excellent.
Object Orient Perl Book
Perl Tutorial (also perldoc perltoot on the command line)
I admit it, I am Paco.