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 strict;
use warnings;
use Test::More;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';

do {
    package Class;
    use Class::Method::Modifiers;

    sub foo { }

    before foo => sub {
    };

    after foo => sub {
    };

    around foo => sub {
    };
};

pass("loaded correctly");

done_testing;