Yeah, I went the PAR route for deploying Perl apps on multiple Win32 desktops. The code I inherited had some rather yucky 'auto-install-if-the-module-is-missing' code tucked away in a BEGIN block.
I don't remember exactly how the code went but it was something like this
BEGIN { eval { require FOO::Bar }; if ($@) { system("ppm install FOO::Bar"); } }
PAR is by far the better way to go :-)
In reply to Re^2: Minimum CPAN modules you should count on?
by vek
in thread Minimum CPAN modules you should count on?
by TrekNoid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |