The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
use Catalyst ();

{
    package TestApp;
    use base qw/Catalyst/;
}
{
    package TestApp::Controller::Base;
    use base qw/Catalyst::Controller/;
}
{
    package TestApp::Controller::Other;
    use Moose;
    use Test::More tests => 1;
    use Test::Fatal;
    is exception {
        extends 'TestApp::Controller::Base';
    }, undef;
}