Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

In one of my cgi prog. (say pgm1.cgi) I say require('dotsh.pl'); and print $ENV variables. (Output is say HTTP_ACCEPT=*/*) and then I execute &dotsh("...../file1.sh") Output is changed to HTTP_ACCEPT='*/*' (**NOTE the addition of single quotes) File1.sh contains some variable. Why is the output changed?

Iam running perl 5.005_03 o sun4_solaris

Any help is appreciated.
Thanks,

Edit by tye

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.