Greetings everybody.
In the documentation for MSSQLreporter there is a complete, runnable program
example code. this is what it looks like:
#!perl -w
use strict;
use DBIx::MSSQLReporter;
my($connect) = "dbi:ODBC(RaiseError=>1, PrintError=>1,
Taint=>1):DSN=LocalServer";
my($reporter) = DBIx::MSSQLReporter -> new(connexion => $connect);
print "User tables: \n";
print join("\n", @{$reporter -> get_tableNames()}), "\n\n";
I tried running this and here is the error message I got:
DBI->connect(DSN=LocalServer) failed: [Microsoft][ODBC Driver Manager] Data
source name not found and no default driver specified (SQL-IM002)(DBD:
db_login/SQLConnect err=-1) at C:/Perl/site/lib/DBIx/MSSQLREPORTER.pm line
406
(in cleanup) Can't call method "disconnect" without a package or object
reference at C:/Perl/site/lib/DBIx/MSSQLREPORTER.pm line 457.
i have no real idea how to get around this. any ideas?? thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]