in reply to An anomaly with List::Util::reduce and/or eval?
I dont experience your bug. It must have appeared sometime after AS 633....
#!perl -l use List::Util qw[ reduce ]; print "\$List::Util::VERSION = $List::Util::VERSION\n"; printf "Perl version: %vi\n",$^V; print reduce{ print "$a $b"; eval "$a + $b" } 1,2,3; print reduce{ eval "$a + $b" } 1,2,3; __END__ $List::Util::VERSION = 1.07 Perl version: 5.6.1 1 2 3 3 6 6
This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 633 provided by ActiveState Corp. http://www.ActiveState. +com Built 21:33:05 Jun 17 2002
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: An anomaly with List::Util::reduce and/or eval?
by BrowserUk (Patriarch) on Aug 13, 2003 at 18:40 UTC | |
by demerphq (Chancellor) on Aug 13, 2003 at 21:04 UTC |