Re: boolean command-line options

[email protected] (Eric Wilhelm)
Newsgroups perl.module.build
Message-ID <[email protected]>
# from Eric Wilhelm
# on Wednesday 09 July 2008 10:19:

>  ./Build test --use-tap-harness --test-files t/basic.t
>
>Is there no way to make an option be boolean?  (that is: "no
> opterand")

I found it being done in _optional_arg().  Am I the only one who thinks 
this could use some better documentation?

The chase to understand options currently leads through quite a few 
uncommented functions.  Did I miss a memo with the overview?

Thanks,
Eric
-- 
[...proprietary software is better than gpl because...] "There is value
in having somebody you can write checks to, and they fix bugs."
--Mike McNamara (president of a commercial software company)
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.