Just another Perl shrine | |
PerlMonks |
Re: First steps in OO-Perl , suggestions please!by davis (Vicar) |
on Jul 25, 2002 at 11:40 UTC ( [id://185170]=note: print w/replies, xml ) | Need Help?? |
2 thoughts spring to mind from skimming over your code:
Please, please use POD. I initially stayed away from it, but the effort required to learn really is minimal. Even if it's only you using the module, there's something satisfying about being able to do perldoc My::Module In your constructor, you've hardcoded the required arguments - you may wish to try something like this: This tends to make the code a lot easier to update. davis Is this going out live? No, Homer, very few cartoons are broadcast live - it's a terrible strain on the animator's wrist
In Section
Seekers of Perl Wisdom
|
|