Skip Menu |

This queue is for tickets about the AppConfig CPAN distribution.

Report information
The Basics
Id: 11654
Status: new
Priority: 0/
Queue: AppConfig

People
Owner: Nobody in particular
Requestors: sclark [...] cambex.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Empty string not a legal value?
This may be a design choice and not a bug, but if I try to use an empty string "" as a value in a config file, I get an error like: mx expects an argument at configfile line 7 The culprit is File.pm line 230 if (defined $value && length $value) { which won't allow a value of length 0. Leaving the value out of the config file doesn't give an error, returns undef as the value, and works pretty much the same as an empty string, but also doesn't seem like an elegant workaround. For now I just tell the users to comment out the value if they want to set it to an empty string. fails: mx = "" mx = works: # mx = ""