The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more
12345678910111213141516 use strict;use Apache::Test;use Apache::TestRequest;plan tests => 3, have_lwp;{ my $body = GET_BODY "/test.html"; ok($body, qr/It's a module/);}{ my $body = GET_BODY "/test.html.js"; ok($body, qr/document\.writeln/); ok($body, qr/It's a module/);}
use
strict;
Apache::Test;
Apache::TestRequest;
plan
tests
=> 3, have_lwp;
{
my
$body
= GET_BODY
"/test.html"
;
ok(
,
qr/It's a module/
);
}
"/test.html.js"
qr/document\.writeln/
qr/It's a module/