Perl doesn't really do the inner class thing AFAIK, though someone has probably hacked a module to allow it ;)
You will find what you need to get started with Perl OO in perldoc on your system
When you've worked through those have a look at the Object Oriented Programming section of the tutorials here