|Think about Loose Coupling|
open perl interpreterby Anonymous Monk
|on Aug 03, 2004 at 15:57 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
All my perl file(interpreter and script) are in one folder. I would like to be able to move my folder anywhere in my hardisk. I know it make no sense, but I just want to know it. But the problem is how my script will find my perl interpreter in the same folder after I move the folder some where else( for example c:/perl to c:/desktop/perl)
Should I create an .exe file like this
system("??? "); so that the exe file will order perl interpreter to open script.pl.
So how do I do that????