Skip Menu |

This queue is for tickets about the Config-General CPAN distribution.

Report information
The Basics
Id: 65860
Status: resolved
Priority: 0/
Queue: Config-General

People
Owner: tlinden [...] cpan.org
Requestors: rmb32 [...] cornell.edu
Cc: TJC [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.50
Fixed in: 2.50



Subject: blech warnings
Undef warnings sometimes. Patchy patch: Index: General.pm =================================================================== --- General.pm (revision 93) +++ General.pm (working copy) @@ -869,7 +869,7 @@ } } else { - if($this->{ForceArray} && $value =~ /^\[\s*(.+?)\s*\]$/) { + if($this->{ForceArray} && defined $value && $value =~ /^\[\s* (.+?)\s*\]$/) { # force single value array entry push @{$config->{$option}}, $this->_parse_value($config, $option, $1); }
fixed in 2.51.