Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: system call not working

by chip (Curate)
on May 12, 2004 at 16:58 UTC ( [id://352837]=note: print w/replies, xml ) Need Help??


in reply to system call not working

"The path to the program is also definately in my .bashrc file"? What do you mean? And more to the point, why should that matter? After all, .bashrc is only sourced for interactive shells, and even if your system() call were using a shell, it wouldn't be an interactive one.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

Replies are listed 'Best First'.
Re: system call not working
by Anonymous Monk on May 12, 2004 at 19:53 UTC
    But if you always run your Perl script from an interactive shell, then it inherits those environment variables.
      You're assuming that environment variables are involved. Maybe it's a shell alias.

          -- Chip Salzenberg, Free-Floating Agent of Chaos

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found