Sébastien Aperghis-Tramoni wrote:
> Hello Aristotle,
>> But I like neither the name nor the interface. How about this:
>>
>>     package BigApp::Report;
>>     use subclass qw(..::Utils Create Publish);
>>     # loads BigApp::Utils, BigApp::Report::Create,
>> BigApp::Report::Publish
> 
> "subclass" would imply more OO semantic than I'd like, as the module
> just loads others modules, but I agree it's a better name than
> "relative" and I can't find a better one.

I don't think there's anything wrong with 'relative'.

> Also agreeing for the API change. I know I was pondering about using
> ".." but can't remember why I didn't.

'..' is only meaningful in the Unix/Win32 world.  VMS, RISC OS and
others call it something else.  On the other hand, I think it's safe to
assume that anyone using those platforms and perl will know what ..
means and if they don't I'm sure you'll document it.

-- 
David Cantrell | Minister for Arbitrary Justice

Cum catapultae proscriptae erunt tum soli proscript catapultas habebunt

Reply via email to