in reply to Testing standalones on PC with Perl
@INC is not the only "Problem". Sometimes the executable needs some .dlls that you have, but that is not on a standard PC. These .dlls are often in C:\WINDOWS\system32 and if you "empty out" @INC, the application will always find the needed .dlls on your PC, but not on an other PC.
If a .dll is needed depends on the moduls used in your script.
The best way to test it is to have to different PCs (one development and one "standard") or to run two different OS on one PC...
|