If I was writing an application with perl where should I put the files? I know that for most apps it seems that
- binaries in /bin
- static data in /share
- changing data in /var
- library in /lib
- config in /etc
- When you install after initial install you might use a prefix of /usr/local instead of /usr
Now my app is written in perl. It has various modules not really of use to anyone except my app and some configuration files. The stickler is the perl modules. Should they be lumped in PERLINC with the more generally useful perl modules or somewhere else (eg /usr/share/appname)and use use lib qw(/usr/share/appname)
. To draw an analogy, Yum the rpm package utility has a script in /usr/bin and modules somewhere in /usr/share. I know yum is written in python so the analogy is of lessened value.
Can I get some thoughts on the matter?