Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by Anonymous Monk
on Nov 24, 2013 at 23:43 UTC ( #1064161=note: print w/ replies, xml ) Need Help??

Comment on Re^3: What's the best way to handle the installation and or distribution of a Perl script?
Download Code
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
    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;

      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

      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://1064161]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-12-26 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (172 votes), past polls