in reply to An anomaly with List::Util::reduce and/or eval?

What version of perl and List::Util? With perl 5.6.1 and List::Util 1.09, that first version gives me a segfault. I know that List::Util has had stack issues in the past when you do anything non-trivial in the code block, I don't know if that has anything to do with it.

Update: Just updated to List::Util 1.11 - Same result.

  • Comment on Re: An anomaly with List::Util::reduce and/or eval?

Replies are listed 'Best First'.
Re: Re: An anomaly with List::Util::reduce and/or eval?
by BrowserUk (Patriarch) on Aug 12, 2003 at 19:18 UTC

    Sorry. Should have included that info.

    P:\test>perl -MList::Util -le"print $List::Util::VERSION" 1.07 P:\test>perl -v This is perl, v5.8.0 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2002, Larry Wall Binary build 802 provided by ActiveState Corp. http://www.ActiveState. +com Built 00:54:02 Nov 8 2002

    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
    If I understand your problem, I can solve it! Of course, the same can be said for you.