in reply to Where is the interpreter

not sure of windows, but do a search of files for the perl folder, and it usualy looks like #!/(full path to folder/perl the folder name might vary, but in general there is a way to find it, you gotta do a google search or someone else here give you the windows command to find it! there will be several folders, like perl, perl5.8.. perl4.... here is where i believ the she-bang points in general, point it to the main folder, as pointing it to your latest install will be useless when you upgrade, and you have to change all your scripts to accomodate!

www.arobcorp.com

Replies are listed 'Best First'.
Re^2: Where is the interpreter
by Herkum (Parson) on Jan 08, 2007 at 00:27 UTC

    I am writing an automatic installation, not a manual installation.

    I would like a programmatic solution because I will be giving the installation to people who may or may not have the expertise to figure out where the interpreter is located and the application maybe in Windows or UNIX so it has to be flexible.

      in that case your writing a ".exe" right?, then you gotta get the ".exe" to search the file system for the appropriate file, then include it in the installed file, simular to when some programs instal, they go off and look for the nessary system files they need (i.e. fonts,sound,drives etc) then add them to the pre-install file, then once all found and no errors, instal the pre-install file! so, you gotta find the general folder, then the ".exe" has to include it in the instal!