On Oct 5, 2007, at 9:04 PM, Sébastien Aperghis-Tramoni wrote:
The interest of such a module would be to ease writing modules
using a big set of sibling modules (in the same hierarchy), and
would also simplify refactoring and renaming.
As of now the user still has to write the whole package later in the
code:
package BigApp::Report;
use relative to_self => qw(Create Publish);
my $p = BigApp::Report::Publish->new;
If there were a return value from import(), they could do something
like this instead:
package BigApp::Report;
use relative;
my $Pub = import relative to_self => qw(Create Publish);
my $p = $Pub->new;
-Ken