- or download this
print qq~
Content-type: text/html
...
(body)
~;
- or download this
print <<EOT;
Content-type: text-html
...
(body)
EOT
- or download this
print qq~Content-type: text-html
...
(more headers)
- or download this
#!/usr/bin/perl
...
unless ($response->is_success);
print $response->headers_as_string, $/, $response->content;