in reply to Re: Global symbol "$DBI" requires explicit package namein 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.
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (348 votes). Check out past polls.