|Just another Perl shrine|
Creating installable scriptsby bronto (Priest)
|on Aug 12, 2003 at 16:40 UTC||Need Help??|
bronto has asked for the
wisdom of the Perl Monks concerning the following question:
I'd like to have something similar to (or even a) Makefile.PL to install a script --not a module--. I remember that I read somewhere that scripts with the .PL extension had something special in producing a new script with the correct "#!" line, but I can't recall where I found it.
In short, I'd like to do something likeperl myScript.PL
and have a runnable version of my script back, orperl Makefile.PL ; make ; make install
and have a runnable version of my script installed in a sensible location
Can anybody point me to the right direction?
Thanks in advance
The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).