in reply to List::MoreUtils seg fault

Fails under Windows also.


Perl is environmentally friendly - it saves trees

Replies are listed 'Best First'.
Re^2: List::MoreUtils seg fault (XS)
by tye (Sage) on Jan 16, 2008 at 23:45 UTC

    Disable the XS part of List::MoreUtils so that the Perl version of zip() is called and it won't segfault (if you can put up with how slowly it doesn't). ;)

    zip has a "prototype" of (\@\@;\@\@...) and method invocation thwarts checking of prototypes and XS code is rarely robust and tends to just segfault when, for example, it is expecting at least two references to arrays but instead gets a reference to a hash.

    - tye