the problem is that myscript.pl and MyModule will be changed often and not only be me, so I want them to be saparate not included in the .parI'm afraid I can't answer your specific question, but this phrase got me thinking. If the reason you want to keep these files out of the PAR file is so they can be modified, perhaps a different approach would work. Would it be possible to use a config file that contains the data that will be modified rather than hard-coding it? That would not only clean up the overall program, but it would allow you to use PAR in the traditional manner. There are several modules related to config files on CPAN: Config::General, Config::IniFiles, Config::Simple, etc. If you need to modify code (rather than simply parameters), you could provide a separate file that could be used (via do? Another monk might be able to confirm that) to add methods to any package in the program.
Just some things to consider. If you can't solve the problem, try to go around it. :-)
In reply to Re: PAR packaging
by bobf
in thread PAR packaging
by rootcho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |