in reply to Re^2: Global symbol "$DBI" requires explicit package name
in thread Global symbol "$DBI" requires explicit package name
This has nothing to do with DBI. You were using a variable you didn't declare ($DBI), and you asked to make such things errors by using (use strict;).
While $DBI::errstr is also a variable you didn't declare, use strict; forgives qualified ("::") package variables.
Although it's not documented, DBI->errstr might work. Maybe that's what you were using.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Global symbol "$DBI" requires explicit package name
by Anonymous Monk on Dec 07, 2010 at 23:22 UTC | |
by ikegami (Patriarch) on Dec 08, 2010 at 00:27 UTC |