Mr. van der Pijll -- Thanks very much; your observations on Params::Validate do check 
out on my system. Is running the pure Perl
version of PV considered deprecated, or is there otherwise any reason why I shouldn't 
use it?

(Mr. Rolsky suggested in another email that I upgrade to PV version 0.69, but I'm 
already there.)

TRL

----- Original Message ----- 
From: "Eugene van der Pijll" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 22, 2003 5:00 PM
Subject: Re: Memory leak?


> Todd Lorenz schreef:
> > Could someone kindly confirm/debunk this?
>
> Confirmed.  It seems that this is a memory leak in
> Params::Validate::validate(), possibly connected to optional parameters.
>
> This:
>
>     perl -MDateTime -e'while(1){DateTime->new(year=>2003)}'
>
> does not leak; this:
>
>     perl -MDateTime -e'while(1){DateTime->new(year=>2003, month=>11)}'
>
> does.
>
> The pure Perl version of Params::Validate is OK. This:
>
>     export PV_TEST_PERL=1
>     perl -MDateTime -e'while(1){DateTime->new(year=>2003, month=>11)}'
>
> uses Params::ValidatePP, and does not leak.
>
> This is linux, perl 5.8.0, DT 0.18, Params::Validate 0.69.
>
> Eugene
>

Reply via email to