Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^6: What do I use to release a module to CPAN for the first time?

by hippo (Chancellor)
on Oct 16, 2020 at 16:20 UTC ( #11122912=note: print w/replies, xml ) Need Help??


in reply to Re^5: What do I use to release a module to CPAN for the first time?
in thread What do I use to release a module to CPAN for the first time?

This has always felt wonky to me, and I'm sure I'm missing the most obvious approach.

When you run make tardist (which should be the last thing to do before uploading the resultant tarball to PAUSE) it generates the META files for you (as part of the implicit make distdir) and therefore they are automatically included in that tarball. To me, that is the most obvious approach. By doing it this way I never have to actively think about any of the META files - remember that laziness is one of the Three Virtues. HTH.


🦛

Replies are listed 'Best First'.
Re^7: What do I use to release a module to CPAN for the first time?
by davido (Cardinal) on Oct 18, 2020 at 15:48 UTC

    I guess I never noticed that the META.* files get included in the tarball just in time. I can safely drop them from my Git repo, and they will still be included in the PAUSE upload. Thanks.


    Dave

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2021-09-28 19:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?