in reply to Re^2: A class that cannot be subclassed.
in thread A class that cannot be subclassed.
Of course, then there are people who advocate reversing this, and calling UNIVERSAL::isa($obj, "P") (does that count as a way to test for it?), and you can't stop that as far as I know.
Sure you can. UNIVERSAL::isa does just that to prevent people from breaking things like Test::MockObject.
|
|---|