http://www.perlmonks.org?node_id=542714


in reply to Specifying a shell for use with Backticks

I am not really a power perl user but mostly shell user. But I think the following idea will work. Assuming that your "myscript" is indeed a cshell script Try using #! /bin/csh -f as the first line in that file. Also Try reading "UNIX power Tools by Jerry Peek, Tom O'Reilly, Chapter 47 "Shell Programming for ..." 47.02 - 47.05 the story of #! to get good handle on what shell get's used when you invoke a script. Good luck --- Rama Reddy ( Rama.Reddy@intel.com )
  • Comment on Re: Specifying a shell for use with Backticks