Perl-Sensitive Sunglasses | |
PerlMonks |
Re: "close" failingby gellyfish (Monsignor) |
on May 31, 2006 at 12:18 UTC ( [id://552765]=note: print w/replies, xml ) | Need Help?? |
You probably do want to check the success of the close when you are doing a piped open like that. The likelihood is that the $ENV{PATH} is different for the web server process: you should either specify the full path to the program you are running or ensure that the location of the program is in $ENV{PATH} before opening the pipe. The reason you aren't seeing any error message is because the output of die is going to STDERR and mostly this goes into the error log rather than to the browser. /J\
In Section
Seekers of Perl Wisdom
|
|