Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: What's the best way to handle the installation and or distribution of a Perl script?

by taint (Chaplain)
on Nov 25, 2013 at 00:09 UTC ( #1064163=note: print w/ replies, xml ) Need Help??


in reply to Re^3: What's the best way to handle the installation and or distribution of a Perl script?
in thread What's the best way to handle the installation and or distribution of a Perl script?

Just my point.

With the possible exception of ExtUtils::MakeMaker, there's no "definitive" answer to creating a CPAN distribution containing a single Perl script, designed for utilitarian purposes.

All the other references you provided. Were inconclusive.

--Chris

#!/usr/bin/perl -Tw
use Perl::Always or die;
my $perl_version = (5.12.5);
print $perl_version;


Comment on Re^4: What's the best way to handle the installation and or distribution of a Perl script?
Re^5: What's the best way to handle the installation and or distribution of a Perl script?
by davido (Archbishop) on Nov 25, 2013 at 00:53 UTC

    If you're adverse to looking at the source code of existing CPAN examples (there are many), get a copy of O'Reilly's Mastering Perl, and read the chapter named Modules as Programs.

    If you need to know how to make the distribution itself, Intermediate Perl covers that as well, though perlmodstyle and ExtUtils::MakeMaker cover most of it.


    Dave

Re^5: What's the best way to handle the installation and or distribution of a Perl script? (modulinos)
by Anonymous Monk on Nov 25, 2013 at 02:05 UTC

    Just my point. ... All the other references you provided. Were inconclusive....

    taint true again. First you say "no info", then you say "inconclusive", so it couldn't have been your point.

    This is what hundreds of others have done is about as definitive as you can get with customs

    IMHO, modulinos are the most useful

    Modulinos and CPAN-appropriateness

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2014-08-30 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls