in reply to Right job for the tool.
When would you use OO Perl ?
There, I fixed it for you, now you've got the right question :) When would you use OO ?
In perl use it whenever I think, hey, maybe this part should be override-able .. and foo( $hash); turns into $hash->foo;
Even when I figure I probably won't ever need to override any part of this, if I'm passing around a reference to everything, I make it OO
No, my OOP Perl doesn't have accessor methods, I access the members directly ... its for small programs :) and yes its technically OOP
https://en.wikibooks.org/wiki/Object_Oriented_Programming
|
|---|