Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: scripts on CPAN

by Bro. Doug (Monk)
on Mar 24, 2007 at 00:20 UTC ( [id://606360]=note: print w/replies, xml ) Need Help??


in reply to scripts on CPAN

Fellow monks,

I often see binary packages along side .pm files. These .pm files would then contain nothing but perldoc pod. Consider this as an option, as pod is mighty and righteous.

But... can you put pod in a binary distribution? Anybody know the answer?

Peace monks,
Bro. Doug :wq

Replies are listed 'Best First'.
Re^2: scripts on CPAN
by rinceWind (Monsignor) on Mar 24, 2007 at 16:32 UTC

    CPAN is about source distributions. not binary distributions. The only binaries you will find on CPAN are probably pictures (jpeg) and suchlike.

    I think you are referring to C library interface modules. The bulk of the work (and code) takes place in C, either as source files in the distribution, or in third party libraries. There is some minimal Perl code inside the .pm, to "bootstrap" the shared library component.

    To answer your question about pod in a binary distribution, this depends on your package manager. I have successfully used PAR in conjunction with a standalone Tk script that contains its own help text as pod (and I have a help function on the menu bar which displays the pod in its own window). I did have to jump through a few hoops, and I believe that it's easier to do in more recent versions of PAR and PAR::Packer.

    I've given a talk on packaging Perl applications at two YAPC conferences, and I have submitted it to present at Houston TX in June.

    --
    Apprentice wetware hacker

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-03-28 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found