#!/usr/bin/env /friends/.rakubrew/shims/raku use HTTP::UserAgent; my $url = 'https://www.exmaple.org'; my $ua = HTTP::UserAgent.new; my $req = HTTP::Request.new(GET => $url); my $res = $ua.request($req); use Data::Dump; say Dump($res.header);