Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: perl stdout and backtick execute

by dasgar (Priest)
on Oct 25, 2013 at 00:13 UTC ( #1059568=note: print w/replies, xml ) Need Help??

in reply to perl stdout and backtick execute

I'm more of a Windows guy, but that /var/www/cgi-bin looks like it's a directory used by a web server. If so, there may be different permissions for that directory and the STDOUT of the script when running from that directory might not be STDOUT of the shell (i.e. it's expecting to be run via web browser request through the web server, in which case STDOUT is HTTP response back to requesting client browser). Also, you might want to double-check the permissions for the script file after copying it to that directory.

That's my initial thoughts. But like I said, I'm more familiar with Windows, which means I could be wrong.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1059568]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-11-23 19:00 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (337 votes). Check out past polls.