Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Re: getting 0 to print

by thor (Priest)
on Jan 13, 2003 at 21:57 UTC ( #226617=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://226617]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2021-10-25 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?