http://www.perlmonks.org?node_id=1064159


in reply to Re: 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?

Points well taken.

Fact is, it's quiet here today, and while I'm aware of documentation. I see very little (nearly none) specific information regarding such an endevour. I actually spent a great deal of time on this (looking). As I thought it might be a great "how-to" Module/FAQ for aspiring Authors. There's volumes of information on the creation/maintaining of "typical" Module creation, but precious little on simple script authoring/maintenance. So hence initiating this thread here on PerlMonks for input/feedback.

--Chris

#!/usr/bin/perl -Tw
use Perl::Always or die;
my $perl_version = (5.12.5);
print $perl_version;
  • Comment on Re^2: What's the best way to handle the installation and or distribution of a Perl script?

Replies are listed 'Best First'.
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
      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