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 Test::More tests => 2;
use lib qw(./t/lib);
use TestMasonApp::InterpExecFromScalarRef;

$ENV{CGI_APP_RETURN_ONLY} = 1;

my $output = TestMasonApp::InterpExecFromScalarRef->new->run;
like($output, qr/<title>InterpExecFromScalarRef<\/title>/, "mason scalarref title");
like($output, qr/param : success/, "mason scalarref parameter");