NAME

Module::Generate::Hash - Assisting with module generation.

VERSION

Version 0.06

SYNOPSIS

use Module::Generate::Hash qw/all/;

generate(
	dist => 'Planes',
	author => 'LNATION',
	email => 'email@lnation.org',
	version => '0.01',
	classes => {
		Planes => {
			abstract => 'Over my head.',
			our => '$type',
			begin => sub {
				$type = 'boeing';
			},
			accessors => [qw/
				airline
			/],
			subs => [	
				type => {
					code => sub { $type },
					pod => 'Returns the type of plane.',
					example => '$plane->type'
				},
				altitude => {
					code => sub {
						$_[1] / $_[2];
						...
					},
					pod => 'Discover the altitude of the plane.',
					example => '$plane->altitude(100, 100)'
				}
			]
		}
	}
);

Exports

generate

This module exports a single method generate which accepts a hash that is a distribution specification.

generate(%spec);

AUTHOR

LNATION, <email at lnation.org>

BUGS

Please report any bugs or feature requests to bug-module-generate-hash at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module-Generate-Hash. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Module::Generate::Hash

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2020 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)