Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Right job for the tool.by andal (Hermit) |
on May 28, 2014 at 14:12 UTC ( [id://1087655]=note: print w/replies, xml ) | Need Help?? |
Well, if you can solve your tasks without OO, then probably you don't need it :) I use blessed variables mostly when I work with set of objects that might be of different class, but provide certain common values/operations. In Java terminology "implement common interface". This allows simpler "divide and conquer" approach to solving problems. But YMMV. So, OO mostly comes in for complex and large programs. Simple ones are much better without any OO. IMHO :)
In Section
Seekers of Perl Wisdom
|
|