laziness, impatience, and hubris | |
PerlMonks |
Re: DBD::mysql barfsby Caillte (Friar) |
on May 21, 2001 at 02:32 UTC ( [id://81874]=note: print w/replies, xml ) | Need Help?? |
If your code is exactly as yo uentered here then you made one little mistake. Your error revolves around the fragment of code "$DBI:errstr". Now perl interprets this as (Contents of the variable $DBI)(the string ':errstr'). What I think you want is $DBI::errstr (note the second colon). This corresponds to tthe contents of the variable $errstr in the package DBI. $japh->{'Caillte'} = $me;
In Section
Seekers of Perl Wisdom
|
|