Module::Generate::Hash - Assisting with module generation.
Version 0.06
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)' } ] } } );
This module exports a single method generate which accepts a hash that is a distribution specification.
generate(%spec);
LNATION, <email at lnation.org>
<email at lnation.org>
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.
bug-module-generate-hash at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Module::Generate::Hash
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Module-Generate-Hash
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Module-Generate-Hash
CPAN Ratings
https://cpanratings.perl.org/d/Module-Generate-Hash
Search CPAN
https://metacpan.org/release/Module-Generate-Hash
This software is Copyright (c) 2020 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Module::Generate::Hash, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Generate::Hash
CPAN shell
perl -MCPAN -e shell install Module::Generate::Hash
For more information on module installation, please visit the detailed CPAN module installation guide.