----- Original Message ----- From: "Barry Brevik" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, November 30, 2007 11:46 AM Subject: Help with Win32::ODBC
>I am using the Win32::ODBC module, and I continually get the following > error message: > > Can't locate auto/Win32/ODBC/GetTypeInfo.al in @INC (@INC contains: > C:/Perl/site/lib C:/Perl/lib .) at odbcinfo.pl line 58 > Looking at the documentation at http://search.cpan.org/~jdb/libwin32-0.28/ODBC/ODBC.pm there is no mention of the GetTypeInfo method. Either it is undocumented or does not exist (in that particular version of Win32::ODBC, at least). The method certainly doesn't exist for the version of Win32::ODBC that you are running. Perhaps it exists in an earlier or later version. As for the error message itself ... it is basically a red herring. When perl can't find the GetTypeInfo method it looks for a file called GetTypeInfo.al in the chance that the file exists (and defines the GetTypeInfo method). When it can't find that file it complains that GetTypeInfo.al can't be found. The correct thing for perl to do is to simply complain that the GetTypeInfo function is non-existent. There never was, nor should there be, a file named GetTypeInfo.al. It is possible for module authors to write their modules in such a way that this "red herring" error message does not appear, and is instead replaced with a sane and meaningful message. But not all authors construct their modules that way :-) Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
