To learn OO, check for example
http://search.cpan.org/~gsar/perl-5.6.0/pod/perltoot.pod (and read the part "Planning for the Future: Better Constructors", where the author explains why to use a two-argument-constructor).
In this tutorial you'll learn how to create a class.