shift != @_, who'd'athunk?

This commit is contained in:
Chris 2012-03-26 18:07:20 +01:00
parent a97ae64bb8
commit 205e2a0a2d

View File

@ -299,7 +299,7 @@ sub _new_module_internal {
sub load_module {
my $self = shift;
my $name = shift;
my %args = shift;
my %args = @_;
no strict "refs"; # must disable strict references to allow named module loading.
eval { load $name };