Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Any difference in conditionals?

by kelan (Deacon)
on Apr 27, 2004 at 16:51 UTC ( #348569=note: print w/replies, xml ) Need Help??


in reply to Re: Any difference in conditionals?
in thread Any difference in conditionals?

Your tests aren't equivalent. In method 1, both variables start out as 1. In method 2, both variables start undefined. If you start with the same state in both tests, the results will be identical, both for the 'start as 1' case and the 'start undefined' case.

  • Comment on Re: Re: Any difference in conditionals?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2022-10-05 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (21 votes). Check out past polls.

    Notices?