- or download this
package MultipartFilter;
use v5.12;
...
}
1;
- or download this
#!/usr/bin/perl
use v5.12;
...
say "*** multi-part response ***";
$resp=$ua->get("http://localhost/~alex/files/server-push/push-server.c
+gi");
say $resp->as_string();
- or download this
#!/usr/bin/perl
use v5.12;
...
"Content-Type: text/plain\r\n",
"\r\n",
"Hello World!\r\n";
- or download this
#!/usr/bin/perl
use v5.12;
...
}
print
"--$boundary--\r\n";
- or download this
MultipartFilter->hookInto($browser,
onDocument => sub {
...
$twig->parse($part->content());
}
);