http://qs1969.pair.com?node_id=1183684


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