| | 4 | |
| | 5 | * Perl 5 Script: generates a *.pl file |
| | 6 | * Perl 5 Module: generates a *.pm file |
| | 7 | * Perl 5 Test: generates a *.t file |
| | 8 | * Perl 6 Script: genertes a *.pl file |
| | 9 | NB. from Padre/share/templates/ |
| | 10 | === Perl Distribution |
| | 11 | |
| | 12 | [[Image(modstart.png)]] |
| | 13 | |
| | 14 | * Module Name: <your module name> |
| | 15 | * note first letter should be Capitalised and :: (package identifiers) supported. |
| | 16 | * Author: <your name> |
| | 17 | * note this will overwrite author: in ~/.moule-starter/config |
| | 18 | * Email Address: <your e-mail address> |
| | 19 | * note this will overwrite email: in ~/.moule-starter/config |
| | 20 | * Builder: select an Option |
| | 21 | * note you can change the default Option, Tools => Preferences => Advanced => **builder** |
| | 22 | [[Image(builder.png)]] |
| | 23 | * License: select n Option |
| | 24 | * note you can change the default Option, Tools => Preferences => Advanced => **license** |
| | 25 | [[Image(license.png)]] |
| | 26 | * Parent Directory: <the dir you wish to build your skeleton in> |
| | 27 | === my resultant tree |
| | 28 | {{{ |
| | 29 | Mail-Check/ |
| | 30 | ├── Changes |
| | 31 | ├── ignore.txt |
| | 32 | ├── lib |
| | 33 | │ └── Mail |
| | 34 | │ └── Check.pm |
| | 35 | ├── Makefile.PL |
| | 36 | ├── MANIFEST |
| | 37 | ├── README |
| | 38 | └── t |
| | 39 | ├── 00.load.t |
| | 40 | ├── perlcritic.t |
| | 41 | ├── pod-coverage.t |
| | 42 | └── pod.t |
| | 43 | }}} |
| | 44 | |
| | 45 | === To Do Next |
| | 46 | * Load appropriate *.Pl and Run => Run Script |
| | 47 | ||=Skeleton=||=Action=|| |
| | 48 | ||{{{Module::Build}}}||perl Build.PL|| |
| | 49 | ||{{{Module::Install}}}||perl Makfile.PL|| |
| | 50 | ||{{{ExtUtils::MakeMaker}}}||perl Makefile.PL|| |