http://www.perlmonks.org?node_id=226617


in reply to Re: Re: getting 0 to print
in thread getting 0 to print

...and I have to disagree with you. The fact that your DB formats the output a certain way is merely a convenience. Your data could have come from a delimited file and it would have been all the same. You had a broken piece of logic in if($_){do stuff}, because your particular $_ was 0, which evaluates to false.

thor