in reply to "close" failing

Since it is run from web, I don't get to see any error message

Then you either need to check your web server's error log or use CGI::Carp.

-derby

Replies are listed 'Best First'.
Re^2: "close" failing
by ptum (Priest) on May 31, 2006 at 13:52 UTC

    Specifically, use the following:

    use CGI::Carp qw(fatalsToBrowser warningsToBrowser); use CGI qw(:standard); print header; warningsToBrowser(1);

    This should give you some visibility into the cause of the problem.


    No good deed goes unpunished. -- (attributed to) Oscar Wilde
      Also, the interesting error messages are probably being printed from abc.sh. They should end up in the server's error log. You can use IPC::Open3 to get a handle from which you can read them.