Hello Steffen,
Show quoted text> use parent qw(-norequire MyPackage);
> use parent qw(Foo Bar);
>
> why not:
>
> use parent qw(Foo Bar -norequire MyPackage);
this is by design for code simplicity. I'm not sure there is any real
use-case for that, and I think it would have made the code in parent.pm
more complex.
The workaround is:
use Foo;
use Bar;
use parent qw(-norequire Foo Bar MyPackage);
or
use parent qw(Foo Bar);
use parent qw(-norequire MyPackage);
I think neither is too inconvenient to use :)
-max