in reply to if (empty record set)
The fetchrow methods are all suffixed by the return type. You clearly want fetchrow_array.
Also, your conditional puts its argument in scalar context, so if (@bkmark) {...} will suffice. That tests if the array is empty.
After Compline,
Zaxo
|
|---|