in reply to system("./foo.pl") and a problem with relative paths in foo.pl

While I'm not suggesting this is elegant, the following works on Linux:
system('cd mydir;./gash.pl');
Where gash.pl lives in mydir.
  • Comment on Re: system("./foo.pl") and a problem with relative paths in foo.pl
  • Download Code