Perl Tutorial: Object Oriented Programming

Source Code:


Rob Dixon says:

This is very misleading. You can use @_ however you like, there’s no requirement to use shift all the time in the constructor. It’s also odd to declare variables only in the accessors. Weird.

8Nifon8 says:

Thanks, that was helpful… It’s so weird compared to C++-like languages though.

Abdul Azizi says:

Why dont you just use Moose?

Gaurav Arya says:

small font size.

 Write a comment


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!