Manually specifying the shell

A

Adam Preble

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,417
Messages
2,571,573
Members
48,797
Latest member
shadowoftheunknown

Latest Threads

Top