|
Posted by Tim Southerwood on July 27, 2007, 6:30 pm
Please log in for more thread options
Inventor coughed up some electrons that declared:
>> 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
|