in reply to Re^2: Perl OO Lint
in thread Perl OO Lint
What are you talking about? That code still gives the Can't locate object method "caught" via package "My::Execption::Lock::Exists" (perhaps you forgot to load "My::Execption::Lock::Exists"?) error message.
The if is never false (as you say) or even true, since perl dies from the type before the if expression gets completely evaluated. Similarly, the die is never reached, since the if encountered a fatal error.
I suspect the if was within eval's block.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl OO Lint
by jffry (Hermit) on Mar 14, 2006 at 18:05 UTC |