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 lib 't/lib';
use Test::More tests => 1;
use MyTestView;

my $out = MyTestView->render("/var-in-attribute.html");
like(
    $out,
    qr/<li><a href=".+">.+<\/a><\/li>/,
    "<a> renders correctly"
);