http://www.perlmonks.org?node_id=1017589


in reply to how do you install a perl app::someapp module in bash

G'day gideondsouza,

I don't know how far you delved into Module::Starter, but I believe there's probably enough there to give you an idea of how to proceed.

At the top of the CPAN documentation, you'll see a link to Module-Starter-1.60. This link will lead to a page with a lot of information about the distribution: makefiles, older versions, CPAN testers feedback and so on.

Following the link to Makefile.PL, you see:

... EXE_FILES => [ 'bin/module-starter' ], ...

Following the MANIFEST link will show a list of all the files used and their locations. You'll see bin/module-starter which, in turn, is a link to the source code for the module-starter script.

All CPAN modules have the same sort of setup. If you want to create a new module that has similar features to an existing module, you can follow these and similar links to see how its already been done.

-- Ken

Replies are listed 'Best First'.
Re^2: how do you install a perl app::someapp module in bash
by gideondsouza (Pilgrim) on Feb 07, 2013 at 08:21 UTC

    I kept looking at the source, never would have thought it was in the Makefile!

    I feel so awesome that this is all it was to make such powerful magic work! Thanks very much! :) I updated my question too.