"Michael D. Smith" <[EMAIL PROTECTED]> wrote at Tue, 25 Jul 2006 12:31:37 -0500:
> Is it possible to burn PERL and a script onto a CD and execute it from > there without installing perl on the host computer? > > There would be nothing in the registry. The path to perl.exe would > have to be included for the script to execute -- but beyond that, I'm > a blank. > Any thoughts appreciated. > > Actually, it would be unknown if PERL were installed on the host > computer or not -- is there any way to check first? -- as it would > definitely execute quicker off the hard drive than off a CD. The PAR module distribution can package a Perl script and its dependencies in a Perl ARchive. You can even build in your Perl interpreter to create a stand-alone executable program. Your script and its dependencies will be unpacked from the CD into a temporary directory on the host machine's hard disk. You didn't say whether you were sure the version of Perl on the host machine would be the same as yours, or list any modules used by your script, so I would advise going with a stand-alone executable. Some XS-based modules won't work when loaded by a Perl interpreter that is binary-incompatible with the one used to build the module. _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
