#!/usr/bin/perl
use strict;
use warnings;
use LWP::UserAgent ();
my $ua = LWP::UserAgent->new(timeout => 5);
$ua->ssl_opts(verify_hostname => 0);
$ua->env_proxy;
$ua->agent('');
my $a = 'https://netsplit.de/channels/details.php?room=%23perl&net=freenode';
my $r = $ua->get($a);
die $r->status_line if not $r->is_success;
if ($r->decoded_content =~ m{
HTML
}