Re: Missing something with Getopt::Std
- From: usenet@xxxxxxxxxxxxxxx
- Date: 2 Dec 2005 12:38:21 -0800
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!')
.
- References:
- Missing something with Getopt::Std
- From: sunckell
- Missing something with Getopt::Std
- Prev by Date: Re: Convert date to timestamp
- Next by Date: Re: Convert date to timestamp
- Previous by thread: Missing something with Getopt::Std
- Next by thread: Re: Missing something with Getopt::Std
- Index(es):