in reply to Setting #! path using environment

Why not install the scripts?

See http://search.cpan.org/dist/ppt/ as an example.

use scriptdist to create a distribution for a perl script

# B/BD/BDFOY/scriptdist-0.15.tar.gz cpanp i bdfoy/scriptdist-0.15
Read more about scriptdist here.