Subject: | CREATE setting doesn't work for command line arguments |
Setting CREATE to a true value in global configuration object works fine for configuration files, but not for parsing command-line arguments.
The following test script show the issue:
#!/usr/bin/perl
use AppConfig;
my $config = AppConfig->new({ CREATE => 1 });
$config->args();
[guillaume@pomerol cameroun]$ ./test.pl --foobar
--foobar: invalid option