in reply to Re: Help understanding a single line of perl: my $count = $row[0] ? $row[0] : 0;
in thread Help understanding a single line of perl: my $count = $row[0] ? $row[0] : 0;

Ah, yes that makes sense. I added a CASE statement to the sql statement but I think that was unnecessary. Thank you so much!
  • Comment on Re^2: Help understanding a single line of perl: my $count = $row[0] ? $row[0] : 0;