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:
alias
long
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.
ctflags::long
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.
foo
b
r
None.
ctflags, ctflags::long.
Salvador Fandiño Garcia, <sfandino@yahoo.com>.
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.
To install ctflags, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ctflags
CPAN shell
perl -MCPAN -e shell install ctflags
For more information on module installation, please visit the detailed CPAN module installation guide.