Params::Validate::Micro

Params::Validate::Micro is a Perl module to aalidate parameters concisely.
Download

Params::Validate::Micro Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Hans Dieter Pearcey
  • Publisher web site:
  • http://search.cpan.org/~hdp/Email-MIME-XPath-0.005/lib/Email/MIME/XPath.pm

Params::Validate::Micro Tags


Params::Validate::Micro Description

Params::Validate::Micro is a Perl module to aalidate parameters concisely. Params::Validate::Micro is a Perl module to validate parameters concisely.SYNOPSIS use Params::Validate::Micro qw(:all); use Params::Validate::Micro qw(micro_validate micro_translate);Params::Validate::Micro allows you to concisely represent a list of arguments, their types, and whether or not they are required.Nothing is exported by default. Use :all or the specific function name you want.FORMATMicro argument strings are made up of lists of parameter names. Each name may have an optional sigil (one of $@%), which translate directly to the Params::Validate constrations of SCALAR, ARRAYREF, and HASHREF, respectively.There may be one semicolon (;) in your argument string. If present, any parameters listed after the semicolon are marked as optional.Examples:Single scalar argument $textHashref and optional scalar %opt; $verboseTwo arrayrefs and an untyped argument @addrs @lines messageYou may also have an empty argument string. This indicates that you want no parameters at all. Requirements: · Perl


Params::Validate::Micro Related Software