in reply to Re: Feedback: Strongly-typed "Pascal records" module
in thread Feedback: Strongly-typed "Pascal records" module
It wasn't my particular goal to validate/examine whether a derived module was validly implementing it's parent's (or parents') interface. Rather, enable Perl to say to me "Yo, coder, I don't think you did what you meant to do. Isn't this particular object's xxxx instance variable supposed to hold Foo::Bar objects and not Bar::Foo objects!?"
It ensures my mis-assignment to an instance variable gets noticed at its source instead of (much) later when its effect finally shows up.
|
|---|