On Mon, 2005-12-19 at 14:58 +0200, Gaal Yahas wrote:
> Can we make this work?
>
> my $mod = "Some::Module";
> require $mod;
What about casting it to a package;
require ::{$mod};
(not sure if the syntax is quite right)
Sam.
At 2:58 PM +0200 12/19/05, Gaal Yahas wrote:
Can we make this work?
my $mod = "Some::Module";
require $mod;
It's a very simple patch to pugs. While we're at it, does anybody see a
compelling reason to leave in the Perl 5 semantics of "require $file"?
I would very much appreciate su
Can we make this work?
my $mod = "Some::Module";
require $mod;
It's a very simple patch to pugs. While we're at it, does anybody see a
compelling reason to leave in the Perl 5 semantics of "require $file"?
We could follow the heuristic of the very sane Module::Load, and try
*either* a