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 'to' (or -to now :) to resolve names relative to some other namespace.

"This module allows you to load modules using only parts of their name, relatively to the current module or to a given module. Module names are by default searched below the current module, but can be searched upper in the hierarchy using the ..:: syntax."

From:
  http://search.cpan.org/~saper/relative-0.02/lib/relative.pm

--
Andy Armstrong, Hexten



Reply via email to