Re: relative.pm vs import.pm
Sébastien Aperghis-Tramoni [EMAIL PROTECTED] writes: unless I read it wrong, it doesn't provide the feature relative.pm was written for in the first place, that is loading modules using names relative to the current one. If I understand correctly, that would be use import __PACKAGE__; -- Johan
Re: relative.pm vs import.pm
* Sébastien Aperghis-Tramoni [EMAIL PROTECTED] [2007-10-11 12:10]: But this will load *all* the modules below the current one, which is not the same thing as loading a set of selected modules. Imagine doing this with Plagger ;) Imagine trying to load all of Plagger’s modules by hand. ;--) Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/
Re: relative.pm vs import.pm
A. Pagaltzis wrote: * Sébastien Aperghis-Tramoni [EMAIL PROTECTED] [2007-10-11 12:10]: But this will load *all* the modules below the current one, which is not the same thing as loading a set of selected modules. Imagine doing this with Plagger ;) Imagine trying to load all of Plagger's modules by hand. ;--) Right, except I chose Plagger because this is typically a framework where you only load a couple of modules from the gazillions available. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Re: relative.pm
On Sun, Oct 07, 2007 at 12:40:06AM +0200, S?bastien Aperghis-Tramoni wrote: Dr.Ruud wrote: S?bastien Aperghis-Tramoni schreef: package BigApp::Report; These would also be nice: package BigApp::__FROMFILE__; package BigApp::__FROMFILE__($RCSfile); Not sure how this is supposed to work, but I think this is beyond the aim of relative.pm A source filter, perhaps? But yes, IMHO it is beside the point too. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence no verb. pgpvFtDdyX1TY.pgp Description: PGP signature
Re: relative.pm
On 7 Oct 2007, at 15:33, Peter Pentchev wrote: A source filter, perhaps? Run away! :) -- Andy Armstrong, Hexten
Re: relative.pm
Sébastien Aperghis-Tramoni schreef: package BigApp::Report; These would also be nice: package BigApp::__FROMFILE__; package BigApp::__FROMFILE__($RCSfile); -- Affijn, Ruud Gewoon is een tijger.
Re: relative.pm
Dr.Ruud wrote: Sébastien Aperghis-Tramoni schreef: package BigApp::Report; These would also be nice: package BigApp::__FROMFILE__; package BigApp::__FROMFILE__($RCSfile); Not sure how this is supposed to work, but I think this is beyond the aim of relative.pm -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.