RE: Problem wit loading CTLib via CGI on WinXp

"Ed Avis" <[email protected]> Wed, 4 Feb 2009 14:44:05 -0000
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
Your attached test script is very complicated - it does all sorts of stuff apart from opening a file.  Couldn't you make a simple script that just does that?

However, it looks like the open() call is not correct - you have

    open(INTERFACES)

which will open a file called 'interfaces', and not give any error if it fails!  You would need something like

    my $filename = 'whatever';
    my $fh;                    # file handle
    open $fh, '<', $filename
      or die "cannot open $filename for reading: $!";

I think you need to make a test program as I suggested, and if you don't know how to do that, find a local perl programmer who does.

-- 
Ed Avis <[email protected]> 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________