-----Original Message-----
>From: Rafferty Uy [mailto:[EMAIL PROTECTED]]
>Sent: Friday, March 22, 2002 5:29 AM
>To: ActivePerl Mailing List
>Subject: Another question about Database access
>what does this mean..
>C:\WINDOWS\Desktop\Theopro\cgi-bin>perl register.pl
>Global symbol "$Data" requires explicit package name at register.pl line 50.
>Execution of register.pl aborted due to compilation errors.
>when compiling for this statement(s)
>use Win32::ODBC;
>$Data = new Win32::ODBC("DSN=perlharbor;UID=10003622;PWD=10003622;");
It means that $Data wasn't declared in your program. You either need to give it an
explicit package name (if it comes from another package) or declare it locally. Try
this:
my $Data = new Win32::ODBC("DSN=perlharbor;UID=10003622;PWD=10003622;");
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs