| ctflags documentation | view source | Contained in the ctflags distribution. |
ctflags::config - configure ctflags
use ctflags::config long => 'foo:long_name=f',
restriction => 'foo:bar';
ctflags::config configure ctflags allowing to define aliases and to restrict which ctflags can be used.
To create long aliases for flags use the alias or long key when
'using' the package:
use ctflags::config alias => 'foo:long_name=f';
makes foo:long_name take the same value as foo:f.
Long flag names are usable with the ctflags::long module.
The restriction keyword allos to limit the flags that are valid inside a namespace. i.e.
use ctflags::config restriction => 'foo:bar';
limits the valid flag names in the namespace foo to be b, c<A>
and r, trying to use any other name will cause an exception.
None.
Salvador Fandi&241;o Garcia, <sfandino@yahoo.com>.
Copyright 2002 by Salvador Fandi&241;o Garcia
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| ctflags documentation | view source | Contained in the ctflags distribution. |