"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
My mistake. Whereas Korn shell (ksh) supports the syntax you are using: export ENVVAR=valueBourne shell (sh) doesn't, instead preferring: ENVVAR=value; export ENVVARPerl is undoubtably running the command using the default Bourne shell (sh). Try specifying Korn shell in your shebang (you may have to modify the path depending upon where ksh is located on your system): #!/bin/kshdmm In reply to Re(5): Running a C Program within Perl.
by dmmiller2k
|
|