Matthias Staudinger asked:
>
> Can anybody tell me if - and how - it is possible
> to start my perl-scripts on computers without a
> perl interpreter, without an installed perl - on
> windows-computers of my coworkers?
>
If you mean "run Perl programs from Windows PCs without Perl installed
locally," then yes, it's possible, and it's not too hard.
Here's what you have to do:
- Install ActivePerl on some server on your network.
- Create a read-only share of the Perl directory;
"Perl" is as good a name to use as any.
- Run bin\perl.exe from that share.
Typically, this is all you need. Depending on your environment, you may
also want to do one or more of the following:
- Map a drive to the Perl share, to make it easier to
run programs (without a long UNC path).
- Add the Perl bin directory to the system path on
the local PC (to make it easier to find perl.exe).
- Set the PERL5LIB environment variable to something
useful (to make finding additional modules easier).
- Copy the entire Perl directory to the NETLOGON share,
so it's available within the logon script without
any additional network connections (and then there's
no need to create an additional share just for Perl).
The 500-series ActivePerl builds also required that bin\perlcrt.dll be
copied to the Windows system directory, but this is no longer necessary with
builds above 600.
I've used this technique for logon scripting on large networks, where I had
Perl installed in the Windows NT NETLOGON share on my PDCs and BDCs. It
even works with modules requiring DLLs, such as Win32::OLE and Win32::API.
Good luck,
Bill Odom
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]