Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by basicdez (Pilgrim)
on Dec 28, 2001 at 00:29 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2022-01-25 15:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (66 votes). Check out past polls.

    Notices?