monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Beloved Monks,
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.
Regards,
Edward WIJAYA
P.S: Any pointer to existing PM node in line of this discussion would also be welcomed.
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.
Regards,
Edward WIJAYA
P.S: Any pointer to existing PM node in line of this discussion would also be welcomed.
Back to
Seekers of Perl Wisdom