OOP, if you listen to the purists, is about taking some data and some behavior and associating the two of them such that you can call behaviors on the data. That most OO language designers think programmers are too stupid to be entrusted with the mechanics of this isn't Perl's problem.
As for constructors, there's nothing magical about new() at all. DBI uses connect() as the constructor - there is no new().
In reply to Re^3: calling a method within a constructor
by dragonchild
in thread calling a method within a constructor
by ocs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |