in reply to Re^7: fall through switch/case in perl
in thread fall through switch/case in perl
Also, as I said: when it comes to the behavior of undef (as the value of $var), shouldn't the surrounding scope's notion of whether or not to warn on undef apply here? Why should this be different (in that specific regard: i.e., whether or not to warn on using an undefined value) than, say, $var == 10 (etetera). I would think that if warnings were on, it SHOULD warn, and if warnings were not on, then it should NOT warn... and that's what you get. The presence of an eval doesn't change that fact.
I'm confused... are we arguing or agreeing? :-D
------------ :Wq Not an editor command: Wq
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: fall through switch/case in perl
by BrowserUk (Patriarch) on Sep 07, 2004 at 06:53 UTC | |
by etcshadow (Priest) on Sep 07, 2004 at 19:11 UTC | |
by BrowserUk (Patriarch) on Sep 07, 2004 at 19:22 UTC | |
by etcshadow (Priest) on Sep 07, 2004 at 21:40 UTC |