Subject: | memory leak bug |
Date: | Sat, 25 Nov 2006 14:00:48 +0300 |
To: | bug-Config-IniFiles [...] rt.cpan.org |
From: | "Alexey Melezhik" <melezhik [...] gmail.com> |
perl -MCPAN -e shell
m Config::IniFiles
...
Module id = Config::IniFiles
DESCRIPTION Read/Write INI-Style configuration files
CPAN_USERID WADG (Jeremy Wadsack <dgsupport@wadsack-allen.com>)
CPAN_VERSION 2.38
CPAN_FILE W/WA/WADG/Config-IniFiles-2.38.tar.gz
DSLI_STATUS Rmph (released,mailing-list,perl,hybrid)
MANPAGE Config::IniFiles - A module for reading .ini-style
configuration files.
INST_FILE /usr/share/perl5/Config/IniFiles.pm
INST_VERSION 2.39
=========
use Config::IniFiles;
use strict;
for (;;) {
my $cfg_default = new Config::IniFiles(
-file => "../../cfg/default.cfg",
-allowcontinue => 1,
);
my $cfg = new Config::IniFiles(
-file => "../../cfg/config.cfg",
-import => $cfg_default,
-allowcontinue => 1 ,
);
};
==========
Hi! I am on debian. perl, v5.8.8
when I run this script I get memory leak (at about several Mb in second speed)
--
Alexey Melezhik