in reply to Avoiding Output in DBI
I don't have Sybase to test this on, but have you tried the
syb_err_handler method in the DBD::Sybase module?
It is possible that the output is being sent to standard
error so the variable isn't getting any values.
It could also be that a prepare - execute might work better
for this command. I have a had similar instances working with
MySQL.