in reply to Should 'use warnings' check for contradictions?
It's also useful to be able to do something like this:
without having use warnings scream at you. So a condition that's always false is not always wrong.$DEBUG = 0; ... print "foo\n" if $DEBUG;
Maybe you should choose variable names that don't look so similar to each other. For instance, $team1_score and $old_team1_score would be less likely to get confused than $team1_score and $team1_scorec.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Should 'use warnings' check for contradictions?
by Abigail-II (Bishop) on Jun 10, 2002 at 13:03 UTC |