NAME

ctflags::config - configure ctflags

SYNOPSIS

use ctflags::config long => 'foo:long_name=f',
                    restriction => 'foo:bar';

ABSTRACT

ctflags::config configure ctflags allowing to define aliases and to restrict which ctflags can be used.

DESCRIPTION

LONG NAMES

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.

RESTRICTING FLAGS

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.

EXPORT

None.

SEE ALSO

ctflags, ctflags::long.

AUTHOR

Salvador Fandiño Garcia, <sfandino@yahoo.com>.

COPYRIGHT AND LICENSE

Copyright 2002 by Salvador Fandiño Garcia

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.