From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

use strict;
use lib 't/lib';
# things we're going to mock
# mock one of them in strict mode
# this doesn't turn on strict mode, and tries to use ->mock(). It
# shouldn't crash
# yay, we didn't crash!
pass "Using 'strict' mode in one module that we use didn't prevent ->mock()ing in another";
done_testing();