Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^5: DB search results using DBI...execute

by huck (Prior)
on Mar 04, 2017 at 22:42 UTC ( #1183684=note: print w/replies, xml ) Need Help??


in reply to Re^4: DB search results using DBI...execute
in thread DB search results using DBI...execute

if (@arr eq 1) does work the same, i just think  if (scalar(@arr) eq 1) is clearer, and i dont play golf

if (scalar(@arr) == 1) might be cleaner/faster too, eq "causes" each side to get cast into char

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2021-12-09 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (36 votes). Check out past polls.

    Notices?