Getopt::Flex::Spec - Getopt::Flex's way of handling an option spec
version 1.07
This class is only meant to be used by Getopt::Flex and should not be used directly.
Getopt::Flex::Spec - Specification class for Getopt::Flex
Check whether or a not a switch belongs to this specification
Set a switch to the supplied value
Check whether or not a switch requires a value
Given a switch return any associated error message.
Passing this function the name of a switch (or the switch spec) will cause it to return the value of a ScalarRef, a HashRef, or an ArrayRef (based on the type given), or undef if the given switch does not correspond to any defined switch.
Ryan P. Kelly <rpkelly@cpan.org>
This software is Copyright (c) 2011 by Ryan P. Kelly.
This is free software, licensed under:
The MIT (X11) License
To install Getopt::Flex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Getopt::Flex
CPAN shell
perl -MCPAN -e shell install Getopt::Flex
For more information on module installation, please visit the detailed CPAN module installation guide.