Skip to main content.
home | support | download

Back to List Archive

Re: Perl module error: Called close on non-opened file

From: Bill Moseley <moseley(at)>
Date: Mon Mar 17 2003 - 20:36:25 GMT
On Mon, 17 Mar 2003, Laura Werner wrote:

> Hi,
> I'm trying to use the simple Perl module in the "perl" directory of 
> swish-e 2.2.3.  It seems to build and test fine, but when I run it as a 
> CGI under Resin (, I get the following error:
>   err: Called close on non-opened file '(null)'
> When I run my CGI script from the command line, it works fine.  I've 
> tried it on both RedHat and Windows 2000.  Has anyone seen this sort of 
> thing before?  Any debugging tips?

Nope.  If it works from the command line but not from the server they
suspect file permissions or paths.

If you are developing this I would encorrage you to use 2.3-dev as the
perl API has changed.

Bill Moseley
Received on Mon Mar 17 20:41:53 2003