I've been laboring over this for awhile, and can't seem to come up with the ultimate/ideal answer.
More specifically; If I intend to create a distribution comprised of only a simple Perl script (somescript.pl). Does it make any sense to even attempt a typical install?
or does it simply make more sense to make the install sub simply emit a message:perl Makefile.PL make make test # if all tests pass make install
This really isn't a Perl Module proper, but more a utility\n script, written in Perl. You would probably be best served by\n copying this script to your local (s)bindir, or to your systems\n equivalent (if you posses the rights to do so).
If in the "traditional" sense of a distribution; how might I best determine what system (OS) I'm on, in order to copy the script to a proper "bindir". I'm guessing to the Perl dir is probably the best choice. But thought I'd ask. To get thoughts on the matter, I hadn't already considered.
Tnanks for all your consideration.
--Chris
#!/usr/bin/perl -Tw use Perl::Always or die; my $perl_version = (5.12.5); print $perl_version;
In reply to What's the best way to handle the installation and or distribution of a Perl script? by taint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |