Re: Missing something with Getopt::Std



sunckell wrote:
> if $cfg->val('LOGGING', 'debug') is set as 0 in the ini file, I can
> pass a '1' as -L and the value is set as '1'. But if the value in the
> ini file is set to 1, I cannot override it if I use -L 0 at the command line.

Are you just trying to have a boolean value (0/1)? Why not use a
boolean parameter (ie, 'L!')

.