--- Eric Wilhelm <[EMAIL PROTECTED]> wrote: > Me too, except for how it reads in the 'use' statement. > > use aka 'Really::Long::Module::Name';
Yeah, that bugs me too. Still, aka.pm is the name I lean toward. > It any case, it seems that > 'alias.pm' might get confused with 'Alias.pm'. Which is my problem with 'alias.' Case-insensitive systems will happily load a module with incorrect case (after loading, though, using the name with incorrect case will cause problems). Which module would get loaded? > As for the interface, I really like the 'as' part, but the 'import => > [qw(stuff)]' seems clunky. Is there a reason that this syntax can't > work: > > use dub 'Long::Name' qw(foo bar baz); > use dub 'Long::Name' as 'Name' qw(foo bar baz); That fails because if the real module accepts 'as' in the import list, I have no way to disambiguate things. As a convenience, if you only have a single import item, you can do this: use aka 'Really::Long::Module::Name' import => 'thingy'; Cheers, Ovid ===== Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/
