Click here to get back home

Simplest Makefile.PL

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Simplest Makefile.PL Inventor 07-27-2007
Posted by Inventor on July 27, 2007, 4:08 pm
Please log in for more thread options


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.


Posted by Tim Southerwood on July 27, 2007, 4:41 pm
Please log in for more thread options


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

Posted by Inventor on July 27, 2007, 5:01 pm
Please log in for more thread options


> 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!



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



Similar ThreadsPosted
GD.pm Makefile not installing GD::Polyline July 12, 2005, 5:12 pm
GDTextUtil-0.86 Makefile core dump January 19, 2006, 9:04 am
how to install multiple modules with one Makefile.PL July 2, 2008, 11:56 am
Net::LDAP makefile generation fails on ActiveState Perl 5.8.8 June 23, 2006, 2:57 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap