$result->execute() or print "Error while executing query --- @{[$result->errstr()]}";
but whether you would want to is another matter as it looks a bit messy. If you have a call in the middle of a string then it might make more sense as you don't have to keep closing and opening quotes.
Cheers,
JohnGG
In reply to Re^4: Errror while execution query
by johngg
in thread Errror while execution query
by habibrahman_h
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |