Prototype and late loading don't run well together. Add XS into the mix, and you get a segfault instead of an error message. Bug? Anyway, workarounds for the original problem:
(1) Bypass prototype (ugly):
my $ea = &List::MoreUtils::each_array(\@v1, \@v2);(2) Late compilation w/string eval (somewhat ugly, unnecessary compilation):
my $ea = eval q{ use List::MoreUtils; List::MoreUtils::each_array(@v1, @v2) };(3) Declare the prototype yourself (might break(?) if List::MoreUtils upgrades behind your back):
sub List::MoreUtils::each_array(\@;\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\@\ +@\@\@\@\@\@\@); my $ea = List::MoreUtils::each_array(@v1, @v2);
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
In reply to Re: List::MoreUtils and require
by Sidhekin
in thread List::MoreUtils and require
by Tanktalus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |