in reply to Re: question about perl
in thread How do I change the shebang line for all perl scripts in a directory
We spend a lot of effort with modules, verifying that all files are present, they work, etc. before putting them live.
What about their poor relations, the scripts? A script writer could implement tests in an equivalent of make test. The install step could copy to cgi-bin or wherever the script needs to go, changing the shebang line in the process, having worked out where perl lives.
Could Extutils::MakeMaker be used to do this, or is this too hard-coded for modules and h2xs?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Auto shebang hacking
by merlyn (Sage) on Mar 13, 2002 at 01:03 UTC |