in reply to Ternary confusion

Check out perlop for the x = (cond) ? a : b portion (that's the ternary operator). The 'or print" section happens if whichever DBI is choosen from the ternary operator fails.

-derby