Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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??


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

...but precious little on simple script authoring/maintenance.

*yawn* taint true  [install script] , [distribute script],[href://?node_id=3989;HIT=install%20script;re=N] install script , distribute script,?node_id=3989;HIT=install%20script;re=N


Installing a script
Creating installable scripts
Distribute script with dependencies
https://metacpan.org/pod/ExtUtils::MakeMaker Ctrl-F "script"

antique scripts

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

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-12-03 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.