Making a distribution with a command line thingy in it

Shlomi Fish shlomif at iglu.org.il
Thu Oct 14 21:26:28 PDT 2010


On Thursday 14 October 2010 16:50:48 Tom Hukins wrote:
> On Thu, Oct 14, 2010 at 03:39:12PM +0100, Benjamin Martin wrote:
> > Twas a good tech meet the other day, enjoyed the talks alot .. so cheers
> > to all that spoke :)
> 
> Seconded!
> 
> > I was just wondering if anyone knew of a good source of information
> > about building a distribution?... the reason I ask is because I was
> > trying to find information on how to build into your package a command
> > line script??
> 
> If you use ExtUtils::MakeMaker or Module::Build, it's fiddly.  People
> tend to use different approaches, as you've noticed.

Fiddly? What's wrong with doing:

<quote>
script_files => ["scripts/dir-dump",],
</quote>

Inside your Build.PL and getting done with it. See for example:

https://svn.berlios.de/svnroot/repos/web-cpan/File-Dir-Dumper/trunk/File-Dir-
Dumper/Build.PL

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
My Public Domain Photos - http://www.flickr.com/photos/shlomif/

<rindolf> She's a hot chick. But she smokes.
<go|dfish> She can smoke as long as she's smokin'.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


More information about the MiltonKeynes-pm mailing list