Junichi Iwasaki > App-mgen > App::mgen

Download:
App-mgen-0.16.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.16   Source  

NAME ^

App::mgen - Generate the single module file

SYNOPSIS ^

mgen [options] [module_name]

    Options :
        --description=s Set description
        --author=s      Set author name
        --email=s       Set email
        --path=s        Set module root path
        --signature     Set signature. necessary set author and email
        --immutable     Use __PACKAGE__->meta->make_immutable
        --autoclearn    Use namespace::autoclearn
        --help          Output help
        --version       Output version
        --current       Create a module in current directory
        --moose         Use Moose
        --mouse         Use Mouse
        --moo           Use Moo
        --mo            Use Mo
        --m             Use M

        --dry-run
        --silent
    
    ENVs :
        MGEN_ROOT     Set default module root path
        MGEN_AUTHOR   Set default author name
        MGEN_EMAIL    Set default email

    e.g. :
        Generate standerd module
        $ mgen MyApp::Module

        Use Moose
        $ mgen --moose MyApp::Module

        Set description
        $ mgen --description="a module" MyApp::Module

        Set userdata (ENVs)
        $ export MGEN_ROOT=`pwd`
        $ export MGEN_AUTHOR="username"
        $ export MGEN_EMAIL="example@example.com"
        $ mgen MyApp::Module

        Set userdata (Options)
        $ mgen --path=`pwd` --author="username" --email="example@example.com" MyApp::Module
    
   mgen is supported various OO :
        Moose, Mouse, Moo, Mo, M
        Above all, I recommend M 

DESCRIPTION ^

App::mgen is generate the single module file.

AUTHOR ^

lapis_tw <lapis0896@gmail.com>

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: