I'm having a weird Perl problem.  Maybe someone can see something I don't.

I had to put diagnostic code in.  In the problematic call, it says the 4th
parameter is a scalar, not a reference to a scalar...?

*Call works fine*

PrintError ('ID not found.  Please check the ID and try again.',
$sth->errstr, 1, \$HeadOpen, 0);



*Calls throwing an error*

PrintError ('Database error executing statement 1.', $sth->errstr, 1,
\$HeadOpen, 1);


The only difference I can see is the working call $sth->errstr is normally
UNDEF.  In the one that throws an error, it normally has a value.  That
shouldn't make a difference though, should it?


What am I missing?


Paul Boniol

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to