B
Brian
Hi All-
I am getting the hang of some Perl approaches to situations. But one
thing is bothering me. Perhaps this has been written about somewhere.
Pointers appreciated.
Can you do something in general with a set of perl package files to
make it into a 'run once program' instead of installing it?
--
Today, I want to use a set of files that reads Palm OS .pdb
databases. I will likely not ever look at this again, or perhaps once
more a long time from now. Although the author seems to have done an
earnest job in making a very full set of packages, his namespace
choices were poor, in that he uses names like Mail, Raw and DateBook.
It looks to me like those files are going to be tossed into a flat
list in man and perl INC directories. That sounds unlucky.
SO what I did was:
a) copy the source code for each package called out in the desired
final program, into a same source, but removing the 'use xxx' line.
b) did so for all the required packages in reverse order, so the final
program comes last, the most basic package is first.
that seems to work, though I haven't poked at it much. please advise
I am getting the hang of some Perl approaches to situations. But one
thing is bothering me. Perhaps this has been written about somewhere.
Pointers appreciated.
Can you do something in general with a set of perl package files to
make it into a 'run once program' instead of installing it?
--
Today, I want to use a set of files that reads Palm OS .pdb
databases. I will likely not ever look at this again, or perhaps once
more a long time from now. Although the author seems to have done an
earnest job in making a very full set of packages, his namespace
choices were poor, in that he uses names like Mail, Raw and DateBook.
It looks to me like those files are going to be tossed into a flat
list in man and perl INC directories. That sounds unlucky.
SO what I did was:
a) copy the source code for each package called out in the desired
final program, into a same source, but removing the 'use xxx' line.
b) did so for all the required packages in reverse order, so the final
program comes last, the most basic package is first.
that seems to work, though I haven't poked at it much. please advise