Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
First off, I love this module and would not enjoy writing large OO codebases in perl half so much without it. I have nothing to add as far as naming goes, I like Aliased myself. *shrugs* I hated the as at first, but then reading your reasoning I decided that I'm just stuck up and am used to The Way Things Are. Although I have to say that any self respecting OO module should not be using import()... but maybe I'm just not twisted enough yet. For the actual useful bit of my post, have you considered dieing if the aliased name already exists in the target namespace? That would stop use Aliased 'My::Foo::Bar'; and use Aliased 'My::Bar::Bar'; from being able to trample one another and have there be no clue until the test suite breaks In reply to Re: Module Naming Dilemma
by Tuppence
|
|