|Welcome to the Monastery|
To use or not to use OO Perlby monkfan (Curate)
|on Oct 22, 2004 at 14:24 UTC||Need Help??|
monkfan has asked for the
wisdom of the Perl Monks concerning the following question:
We can write any code in functional(structural) Perl, with all its prowess, it seems to me it can do anything.
I am new in programming in general, just fascinated more and more everyday with Perl,
and would like to get to know the OO aspect of it better. Here are some issues I would like to know more.
My question are:
1. On what circumstances we should use Object-Oriented (OO) instead of functional Perl? What's the trade-off?
2. Is it preferred that we use OO Perl as much as we can?
I hope you don't mind answering these silly and simple questions.
P.S: Any pointer to existing PM node in line of this discussion would also be welcomed.