in reply to Inheritance problem: Not a HASH ref

You might be interested in MooX::InsideOut: "This is useful for extending non-Moo classes whose internals you don't want to change, or which aren't hash based."

Other than that, there are several other InsideOut classes on CPAN, and in the core there is Hash::Util::FieldHash, but I've never used the latter so I can't say if it's a good idea to use.

  • Comment on Re: Inheritance problem: Not a HASH ref

Replies are listed 'Best First'.
Re^2: Inheritance problem: Not a HASH ref
by bliako (Abbot) on Feb 26, 2019 at 13:30 UTC

    Thanks for the references. It's comforting to know that my problem is more widespread though I still struggle to understand the Inside-Out technique.