wiki:Features/ProjectSkeletonGeneration

Version 5 (modified by bowtie, 4 years ago) (diff)

--

File => New => Perl Distribution

image of File -> New -> Perl Distribution

  • Perl 5 Script: generates a *.pl file
  • Perl 5 Module: generates a *.pm file
  • Perl 5 Test: generates a *.t file
  • Perl 6 Script: genertes a *.pl file

NB. from Padre/share/templates/

Perl Distribution

image of new Perl Distribution setup

  • Module Name: <your module name>
    • note first letter should be Capitalised and :: (package identifiers) supported.
  • Author: <your name>
    • note this will overwrite author: in ~/.moule-starter/config
  • Email Address: <your e-mail address>
    • note this will overwrite email: in ~/.moule-starter/config
  • Builder: select an Option
    • note you can change the default Option, Tools => Preferences => Advanced => builder

list of builder options

  • License: select n Option
    • note you can change the default Option, Tools => Preferences => Advanced => license

list of license options

  • Parent Directory: <the dir you wish to build your skeleton in>

my resultant tree

Mail-Check/
├── Changes
├── ignore.txt
├── lib
│   └── Mail
│       └── Check.pm
├── Makefile.PL
├── MANIFEST
├── README
└── t
    ├── 00.load.t
    ├── perlcritic.t
    ├── pod-coverage.t
    └── pod.t

To Do Next

  • Load appropriate *.Pl and Run => Run Script
SkeletonAction
Module::Buildperl Build.PL
Module::Installperl Makfile.PL
ExtUtils::MakeMakerperl Makefile.PL

Attachments (5)

Download all attachments as: .zip