laziness, impatience, and hubris | |
PerlMonks |
Re: How do you package your programs?by lachoy (Parson) |
on Aug 28, 2002 at 11:45 UTC ( [id://193425]=note: print w/replies, xml ) | Need Help?? |
If you use ExtUtils::MakeMaker, you can specify a list of EXE_FILES in your Makefile.PL; they will be installed in the appropriate bin/ directory somewhere, depending on the configuration. For instance, in my script for OpenInteract, I have:
This will copy the file from script/oi_manage into (on my machine) /usr/bin. You can change this (with caution) by modifying your install's Config.pm keys 'installbin', and/or 'installsitebin'. And there's nothing wrong with adding your library to @INC -- that's what it's for! Chris
In Section
Seekers of Perl Wisdom
|
|