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
On 7 Oct 2007, at 15:33, Peter Pentchev wrote:
A source filter, perhaps?
Run away! :)
--
Andy Armstrong, Hexten
On Oct 6, 2007, at 1:27 PM, Sébastien Aperghis-Tramoni wrote:
Paul Hoffman wrote:
use relative to = Enterprise::Framework = qw(Base Factory);
# loads Enterprise::Framework:Base,
Enterprise::Framework::Factory
Hmm, the last example is equivalent to this:
use relative qw(to
Hello,
The version 0.02 of relative.pm is now available on the CPAN.
Thanks to everybody who suggested improvements.
(And it still works on Perl 5.004 :-)
Forwarded message:
From: PAUSE [EMAIL PROTECTED]
Date: 7 octobre 2007 19:58:44 HAEC
To: Sebastien Aperghis-Tramoni [EMAIL PROTECTED]
A. Pagaltzis wrote:
even with the current interface,
it’s possible to load a to.pm if you do it this way:
use relative to = __PACKAGE __, qw(to from before after boo);
But that’s a) noisy b) less than self-suggesting.
My I suggest this:
use relative to = self, qw(foo bar roo);
On 7 Oct 2007, at 21:48, Jim Schneider wrote:
use relative to = self, qw(foo bar roo);
Anything else would be used the way it is currently defined. I
like relative to = 'self', because it seems a bit more regular,
and somewhat self documenting.
I think that's the default. You only use