Net::OAuth2::Scheme::Option::Defines - functions for creating option groups and default values
version 0.03
use Net::OAuth2::Scheme::Option::Defines;
This provides a set of utility functions for defining option groups and specifying default values for options.
This is not a base class.
groupname => $default, qw(name1 name2 ...)
Defines a group of option names (name1 name2 ...) such that if any one of them is needed, the installer for groupname is run to provide values for them.
name1 name2 ...
groupname
$default, if defined, specifies the default installer method (pkg_groupname_$default)
$default
pkg_groupname_$default
name => $value
Specifies that the default value for option name is $value.
name
$value
$class
Return a list of all classes in the inheritance hierarchy of $class that define any option groups or default values.
Roger Crew <crew@cs.stanford.edu>
This software is copyright (c) 2012 by Roger Crew.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::OAuth2::Scheme, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OAuth2::Scheme
CPAN shell
perl -MCPAN -e shell install Net::OAuth2::Scheme
For more information on module installation, please visit the detailed CPAN module installation guide.