Define your own method resolution order in Perl WWW: https://metacpan.org/release/MRO-Define