print "no rows\n" and exit unless $rows; print "we seem to have rows.\n"; __END__ no rows