http://www.perlmonks.org?node_id=221302


in reply to Re^3: Class::InsideOut - yet another riff on inside out objects.
in thread Class::InsideOut - yet another riff on inside out objects.

The generic destroy would work fine, since the class would remember all the fields it generated using this syntax just as well as it could using any other syntax.

I agree that this still names the field twice (public name optional, internal ref optional) when most of the time you'd be happy to use the same name in both places.

  • Comment on Re: Re^3: Class::InsideOut - yet another riff on inside out objects.