Could you also call import() after the require as a workaround ?
Not as such, since import just aliases the symbols in your own namespace. Doing that at runtime means it is too late to get the prototype checking. But ... ouch ... you could use that as a way to implicitly bypass prototype checking:
List::MoreUtils->import('each_array');
my $ea = each_array(\@v1, \@v2);
I prefer being explicit when bypassing prototype checking though -- the flip side to not using that '&' sigil unless you mean it, is to make sure you do use it when you finally do mean it!
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
|