Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re(3): Running a C Program within Perl.

by basicdez (Pilgrim)
on Dec 28, 2001 at 00:29 UTC ( [id://134708]=note: print w/replies, xml ) Need Help??


in reply to Re(3): Running a C Program within Perl.
in thread Running a C Program within Perl.

Shebang line does not work either.
  • Comment on Re: Re(3): Running a C Program within Perl.

Replies are listed 'Best First'.
Re(5): Running a C Program within Perl.
by dmmiller2k (Chaplain) on Dec 28, 2001 at 01:05 UTC

    My mistake. Whereas Korn shell (ksh) supports the syntax you are using:

    export ENVVAR=value

    Bourne shell (sh) doesn't, instead preferring:

    ENVVAR=value; export ENVVAR

    Perl 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/ksh

    dmm

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://134708]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-19 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found