Manually specifying the shell

Discussion in 'Perl' started by Adam Preble, Mar 17, 2005.

  1. Adam Preble

    Adam Preble Guest

    I have a problem with the default shell and Perl. We have a Solaris
    machine here that I believe uses the Bourne shell by default, and
    everything is written for it in that. However, Perl defaults to sh.
    This leads to some conflicts when setting environment variables and such
    in a separate script. There are ways around it by rewriting the script,
    but I was wondering if the shell could just be changed in Perl.

    I know on Win32, there's a PERL5SHELL environment variable, but that
    doesn't help me on UNIX variants--specifically between Linux and
    Solaris. Is there a way?
     
    Adam Preble, Mar 17, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    5,732
    Jonathan Bromley
    Feb 18, 2005
  2. Christian Heimes
    Replies:
    0
    Views:
    606
    Christian Heimes
    Feb 27, 2008
  3. Gerardo Herzig
    Replies:
    1
    Views:
    1,090
    Philipp Pagel
    Feb 27, 2008
  4. D'Arcy J.M. Cain
    Replies:
    0
    Views:
    869
    D'Arcy J.M. Cain
    Feb 27, 2008
  5. Samuel A. Falvo II
    Replies:
    0
    Views:
    487
    Samuel A. Falvo II
    Oct 8, 2008
Loading...

Share This Page