The stupid question is the question not asked | |
PerlMonks |
Re^2: How to morph a plain module to OOby adrianh (Chancellor) |
on Sep 07, 2002 at 21:37 UTC ( [id://195909]=note: print w/replies, xml ) | Need Help?? |
My first suggestion is not to do this. If you have a working module and it is already heavily used, just write a new module for the OO stuff and have it use the old module under the covers. I second that suggestion :-) My process for this sort of thing is as follows:
Basically, do it gradually and incrementally. Don't try and have a single module be OO and non-OO at the same time. It's complicated and will cause you more hassle than it will save. (and I really mean it about those tests :-) This nodes spelling mistakes were... s/morning/mourning/ - thanks Arien s/depreciated/deprecated/ - thanks to sauoq
In Section
Seekers of Perl Wisdom
|
|