Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by taint (Chaplain)
on Nov 24, 2013 at 23:17 UTC ( [id://1064159]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-25 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found