Simplest Makefile.PL

Hi, I've got a cute little ASCII plotting module that I'd like to
release to CPAN, but I don't know how to create a Makefile.PL file.
I've looked at some examples but they are too complex and confusing.
Could someone point me to some documentation or post a barebones
Makefile.PL? Thanks in advance.
inventor [ Fr, 27 Juli 2007 22:08 ] [ ID #1780466 ]

Re: Simplest Makefile.PL

Inventor coughed up some electrons that declared:

> Hi, I've got a cute little ASCII plotting module that I'd like to
> release to CPAN, but I don't know how to create a Makefile.PL file.
> I've looked at some examples but they are too complex and confusing.
> Could someone point me to some documentation or post a barebones
> Makefile.PL? Thanks in advance.

Hi

h2xs will help you here. Perhaps:

h2xs -AX -n Your::Module::Something

gives a pretty basic tree complete with Makefile.PL which you can drop your
module into. It's CPAN compliant, indeed it's the recommended way.

Cheers

Tim
Tim Southerwood [ Fr, 27 Juli 2007 22:41 ] [ ID #1780467 ]

Re: Simplest Makefile.PL

On Jul 27, 4:41 pm, Tim Southerwood <t... [at] dionic.net> wrote:
> Inventor coughed up some electrons that declared:
>
> > Hi, I've got a cute little ASCII plotting module that I'd like to
> > release to CPAN, but I don't know how to create a Makefile.PL file.
> > I've looked at some examples but they are too complex and confusing.
> > Could someone point me to some documentation or post a barebones
> > Makefile.PL? Thanks in advance.
>
> Hi
>
> h2xs will help you here. Perhaps:
>
> h2xs -AX -n Your::Module::Something
>
> gives a pretty basic tree complete with Makefile.PL which you can drop your
> module into. It's CPAN compliant, indeed it's the recommended way.
>
> Cheers
>
> Tim

Thanks a bunch, that did the trick!
inventor [ Fr, 27 Juli 2007 23:01 ] [ ID #1780468 ]

Re: Simplest Makefile.PL

Inventor coughed up some electrons that declared:

> On Jul 27, 4:41 pm, Tim Southerwood <t... [at] dionic.net> wrote:
>> Inventor coughed up some electrons that declared:
>>
>> > Hi, I've got a cute little ASCII plotting module that I'd like to
>> > release to CPAN, but I don't know how to create a Makefile.PL file.
>> > I've looked at some examples but they are too complex and confusing.
>> > Could someone point me to some documentation or post a barebones
>> > Makefile.PL? Thanks in advance.
>>
>> Hi
>>
>> h2xs will help you here. Perhaps:
>>
>> h2xs -AX -n Your::Module::Something
>>
>> gives a pretty basic tree complete with Makefile.PL which you can drop
>> your module into. It's CPAN compliant, indeed it's the recommended way.
>>
>> Cheers
>>
>> Tim
>
> Thanks a bunch, that did the trick!

Hi

Glad it worked for you :)

Just for info, h2xs was really intended to generate skeletons for people
writing XS perl<->binary modules, but it got generalised... Hence the funky
and non-obvious name.

Cheers

Tim
Tim Southerwood [ Sa, 28 Juli 2007 00:30 ] [ ID #1780469 ]
Perl » comp.lang.perl.modules » Simplest Makefile.PL

Vorheriges Thema: World's Excellent Ad Posting job
Nächstes Thema: Re: ERR: 13: Missing right $]