Stencil::Source::Awncorp::Class
Stencil Generator for Classes
use Stencil::Source::Awncorp::Class; my $s = Stencil::Source::Awncorp::Class->new;
This package provides a Stencil generator for Data::Object::Class based roles and Test::Auto tests. This generator produces the following specification:
name: MyApp desc: Doing One Thing Very Well libraries: - MyApp::Types inherits: - MyApp::Parent integrates: - MyApp::Role::Doable attributes: - is: ro name: name type: Str form: req operations: - from: class make: lib/MyApp.pm - from: class-test make: t/MyApp.t scenarios: - name: exports desc: exporting the following functions functions: - name: handler_a args: "(Str $key) : Any" desc: executes something which triggers something else methods: - name: handle_b args: "(Str $key) : Any" desc: executes something which triggers something else routines: - name: handle_c args: "(Str $key) : Any" desc: executes something which triggers something else
This package inherits behaviors from:
Stencil::Source
This package uses type constraints from:
Types::Standard
Al Newkirk, awncorp@cpan.org
awncorp@cpan.org
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".
Wiki
Project
Initiatives
Milestones
Contributing
Issues
To install Stencil::Source::Awncorp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Stencil::Source::Awncorp
CPAN shell
perl -MCPAN -e shell install Stencil::Source::Awncorp
For more information on module installation, please visit the detailed CPAN module installation guide.