NAME
ctflags::check - extension private to ctflags package
SYNOPSIS
use ctflags::check;
eval {
check_identifier $perlidentifier;
check_ns $namespace;
check_flag $flag;
check_value $value;
check_flagset $flagset;
check_alias $alias;
check_defopt $option_value, $option_name;
check_envname $environment_var_name;
check_cntprefix $constant prefix;
check_package $package;
};
if ($@) { chomp $@; croak $@ }
ABSTRACT
ctflags::check defines a set of funcions used by the ctflags package
and friends to check for argument validity in its subrutines.
DESCRIPTION
Only if you are changing the ctflags package or developing an extension for it should you use this module. It is private to ctflag and its public interface is not guaranteed to remain unchanged.
See the package source code to see the rules for every type of argument.
check_* functions die if its argument do not match the predefined rules.
EXPORT
Subrutines: check_identifier
, check_ns
, check_flag
, check_value
, check_flagset
, check_alias
, check_defopt
, check_envname
, check_cntprefix
check_package
;
Regular expresions: $identifier_re
, $ns_re
, $flag_re
, $value_re
, $flagset_re
, $alias_re
, $envname_re
, $cntprefix_re
, $package_re
.
SEE ALSO
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.