ctflags::long - use ctflags with long names


ctflags documentation  | view source Contained in the ctflags distribution.

Index


NAME

Top

ctflags::long - use ctflags with long names

SYNOPSIS

Top

  use ctflags::long;




ABSTRACT

Top

Reference ctflags with long names instead of using single letters.

DESCRIPTION

Top

After ctflags::config has been used to assign long names to ctflags, this package can be used to import the flags as normal Perl constants but refering to the flags by its long name. i.e.:

  use ctflags::config long => 'foo:bar=b';
  use ctflags::long 'my_bar=foo:bar';

the first line creates an alias for foo:b as foo:bar, the second line imports foo:bar (and so, foo:b) as constant my_bar.

EXPORT

The requested flags

SEE ALSO

Top

ctflags, ctflags::parse, ctflags::config and constant.

AUTHOR

Top

Salva, <salva@nonet>

COPYRIGHT AND LICENSE

Top


ctflags documentation  | view source Contained in the ctflags distribution.