Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Finally a first version of my Module! Questions...

by Joost (Canon)
on Sep 16, 2007 at 16:19 UTC ( [id://639266]=note: print w/replies, xml ) Need Help??


in reply to Finally a first version of my Module! Questions...

You need a bit more than just the .pm and README files to create a CPAN package. I think the best place to start is to read perlnewmod.

It's probably easiest to create an "empty" source tree using h2xs and then copy the code from your .pm file into the template in the new tree (and fill in the documentation).

When you've done that, you can run the usual

perl Makefile.PL make make test make dist
to create the distribution tarball.

Also, you don't need to register a namespace. You can if you want to, but it's not required.

Replies are listed 'Best First'.
Re^2: Finally a first version of my Module! Questions...
by glasswalk3r (Friar) on Sep 16, 2007 at 18:01 UTC
    Also, you don't need to register a namespace. You can if you want to, but it's not required.

    And is not that simple to get a namespace. If memory does not fails me, a new namespace will not be create unless that is a fairy amount of modules (like 5) that do something closely related.

    Alceu Rodrigues de Freitas Junior
    ---------------------------------
    "You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://639266]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-23 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found