bsb has asked for the wisdom of the Perl Monks concerning the following question:
List::Util version 1.13, this is perl, v5.8.4 built for i386-linux-thread-multi.perl -MList::Util=first -e 'sub a { my $a; first { $a } 0}; a() while +1' $ vm `pgrep -f List::Util` VmSize: 53940 kB VmSize: 85884 kB VmSize: 117564 kB alias vm='perl -e '\''do{ print `grep VmSize /proc/$ARGV[0]/status` }w +hile(sleep(1))'\'''
When I use the pure perl alternative version in List/Util.pm the leak doesn't occur.
Can someone else confirm this for me?
Brad
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: List::Util::first leak?
by davidrw (Prior) on Jul 04, 2005 at 02:28 UTC | |
|
Re: List::Util::first leak?
by BrowserUk (Patriarch) on Jul 04, 2005 at 02:45 UTC |