* Eric Wilhelm <[EMAIL PROTECTED]> [2007-10-09 01:40]:
> The brackets are clunky though, particularly with the qw()
> inside them.
>
> use relative Third => -import => qw(with some args);
You mean `-import =>` is less clunky than `[]`, and sometimes
having to write several `use relative` lines is less clunky than
being able to write only one? :-)
> And don't forget some way to not call import.
use Foo::Bar;
use Foo::Baz;
# ==
use relative qw( Bar Baz );
use Foo::Bar qw( quux );
use Foo::Baz qw( qux );
# ==
use relative Bar => [ 'quux' ], Baz => [ 'qux' ];
use Foo::Bar qw();
use Foo::Baz qw();
# ==
use relative Bar => [], Baz => [];
Doesn’t seem to be a problem… the mapping even is 1:1.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>