in reply to Re^2: Cat'ing perl modules into single file script
in thread Cat'ing perl modules into single file script
Agreed, a PITA it has been to manage.
Bigger picture...
Originally, I developed A.pl, and then later B.pl. Since there was much common code, I split the common code into M/*.pm. The management of code in this fashion, while convenient for me to develop, doesn't fit/install naturally into an existing software package.
I don't want to pollute the file namespace of the existing software package by placing *.pm into the same directory as A.pl or B.pl. And A.pl and B.pl may both be installed at the same time, but use (eg. be built with) different versions of *.pm at the same time, so I can't just create a single M module subdirectory for M/*.pm. The existing software package already reserves the file namespace of the installation directory (so I don't want to usurp any name M inwhich to install M/*.pm).
If there is a way to avoid the contrived single-file packaging as I do now, that would be fine. Or if there is some (better) tool that does what my build packaging script already does, that would be fine too.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Cat'ing perl modules into single file script
by GrandFather (Saint) on Nov 24, 2008 at 09:39 UTC |