Package: libconfigfile-perl Version: 1.2.1 Severity: normal Without bad intention I had created a malformed config file - missing equal sign -, and then I found libconfigfile-perl cannot deal with it very well. While I do not expect that an input error results in any data from that line, it should not create a huge amount of warnings by perl itself.
In other words: --- testit.pl --- #!/usr/bin/perl -w use ConfigFile qw(read_config_file); use strict; my $config = 'config'; open (OUTFILE, ">$config") || die ("$!"); print OUTFILE "foo bar\n"; # correct was: "foo = bar" close (OUTFILE); my $config_hash = read_config_file ($config); ----------------- results in: | Use of uninitialized value in pattern match (m//) at /usr/share/perl5/ConfigFile.pm line 34, <CONF> line 1. | Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/ConfigFile.pm line 35, <CONF> line 1. | Invalid characters in key - Ignoring at /usr/share/perl5/ConfigFile.pm line 35, <CONF> line 1. I'd also be glad if the actual message from read_config_file in the third line could be turned off or redirected to the caller by an options. Christoph -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.11 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8) Versions of packages libconfigfile-perl depends on: ii perl 5.8.8-6.1 Larry Wall's Practical Extraction libconfigfile-perl recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]