NAME

Net::OAuth2::Scheme::Option::Defines - functions for creating option groups and default values

VERSION

version 0.03

SYNOPSIS

 use Net::OAuth2::Scheme::Option::Defines;

DESCRIPTION

This provides a set of utility functions for defining option groups and specifying default values for options.

This is not a base class.

FUNCTIONS

Define_Group 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.

$default, if defined, specifies the default installer method (pkg_groupname_$default)

Default_Value name => $value

Specifies that the default value for option name is $value.

All_Classes($class)

Return a list of all classes in the inheritance hierarchy of $class that define any option groups or default values.

AUTHOR

Roger Crew <crew@cs.stanford.edu>

COPYRIGHT AND LICENSE

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.