What is the syntax for loading empty (undef) or empty strings into an
AppConfig value set to ARGCOUNT_LIST ?
I am using AppConfig 1.56
Here is a code snippet:
use AppConfig;
my $config = AppConfig->new();
$config->define("Thing=s [at] ");
$config->file("config.txt");
print join("\n", [at] {$config->Thing()}) . "\n";
--- config.txt---
Thing = 'one'
Thing = ''
Thing = 'three'
Thing = <undef>
Thing = undef
---
The result is only
STDERR : "Thing expects an argument at ./config.txt line 2
STDOUT :
one
<undef>
undef
I would like AppConfig to add an undef or empty string to the list
rather than ignore it.
thanks,
-K S D
