On approximately 7/28/2004 5:41 PM, came the following characters from the keyboard of Glenn Linderman:
Seems like it would be nice if there were a "tipsheet" of what might be likely to need to be changed when a Perl script is compiled with PAR. Neither the FAQ nor the tutorial contain such things as I'm discussing here. The following items come to mind, no doubt more will present themselves as time goes on...
1) $^X, $0, $ENV{PAR_0}, $ENV{PAR_PROGNAME}
2) how to obtain a consistent name derived from the script name for use with Registry data access (one way is to simply embed a constant in the script (and executable), instead of deriving from the script name, but that loses the flexibility of users renaming the program to get a different set of configuration settings).
3) how to obtain appropriate parameters for shortcuts
4) how to really use -a and -A and what differences are required in the code to access supporting files
5) how to "re-execute" the same program with the same parameters, with and without PAR
-- Glenn -- http://nevcal.com/ =========================== The best part about procrastination is that you are never bored, because you have all kinds of things that you should be doing.
