my $url = 'http://foo bar/'; say $url.subst(/<-alnum>/, *.ord.fmt("%%%02X"), :g);
http%3A%2F%2Ffoo%20bar%2F
Last updated 11 months ago