%% "M.W. Koskamp" <[EMAIL PROTECTED]> writes:
>> When I try to use $sth->errstr, for example, from within my classes, I
>> get a reference error.
>>
>> or croak "DB Error: $this->errstr\n";
>>
>> $sth->execute()
>> or croak "DB Error: $sth->errstr\n";
mwk> The arrow isnt interpolated inside strings when indicating a
mwk> function call. So it will print $sth then an arrow and then an
mwk> 'errstr'. Try this:
mwk> $sth->execute() or croak "DB Error:" . $sth->errstr ;
Doh!
Couldn't see the forest for the trees, there.
Works like a charm, thanks. Have a good weekend.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> HASMAT--HA Software Methods & Tools
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.