Your Mother has asked for the wisdom of the Perl Monks concerning the following question:
Okay, what am I missing? In "Can't happen" bugs this example was presented as something which *could* execute the die statement. No one contradicted it.
if ($some_condition) { return $X; } else { return $Y; } die "not reached"; # but see comment below
So is that really possible? If so, what conditions would allow it?
|
|---|