in reply to PerlEx and HTTP request headers

If you're gonna use CGI, it has a header method:
use CGI qw(:standard); use Data::Dumper; my $session = CGI->new(); print $session->header('text/plain'); print Dumper($session->http());

Replies are listed 'Best First'.
Re^2: PerlEx and HTTP request headers
by Anonymous Monk on Jan 15, 2020 at 08:28 UTC
    You forgot to remove qw(:standard); poser
    A reply falls below the community's threshold of quality. You may see it by logging in.