There's more than one way to do things | |
PerlMonks |
Re^3: Naming of modules that are mean to be inherited only?by Mutant (Priest) |
on Aug 14, 2007 at 12:30 UTC ( [id://632470]=note: print w/replies, xml ) | Need Help?? |
I would prefer "PDF::Puppy::Database::Abstract". But as valdez mentioned, another option is to prefix 'Base', e.g. Base::PDF::Puppy::Database. In hindsight, I'd probably prefer that (or even prefixed Abstract::). However, there's no real convention here. The important thing is that it makes sense to you, it's fairly clear to anyone who might be maintaining your code in the future, and that you're consistent throughout your codebase.
In Section
Seekers of Perl Wisdom
|
|