Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: if (empty record set)

by Zaxo (Archbishop)
on Jun 26, 2003 at 14:59 UTC ( [id://269257]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://269257]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 06:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found