$ perl6 -e 'use LWP::Simple; say LWP::Simple.post("localhost")';
No such method 'lc' for invocant of type 'Any'
in method scheme at /Users/bbkr/Developer/Perl6/rakudo/install/lib/parrot/4.6.0/languages/perl6/lib/URI.pm:138
in method parse_url at /Users/bbkr/Developer/Perl6/rakudo/install/lib/parrot/4.6.0/languages/perl6/lib/LWP/Simple.pm:211
in method request_shell at /Users/bbkr/Developer/Perl6/rakudo/install/lib/parrot/4.6.0/languages/perl6/lib/LWP/Simple.pm:46
in method post at /Users/bbkr/Developer/Perl6/rakudo/install/lib/parrot/4.6.0/languages/perl6/lib/LWP/Simple.pm:39
in block <anon> at -e:1
Current master complains because URL must be absolute, but using http://localhost seems to work fine for me:
$ perl6 -Ilib -e 'use LWP::Simple; say LWP::Simple.post("http://localhost")';
ZORK I: The Great Underground Empire
Copyright (c) 1981, 1982, 1983 Infocom, Inc. All rights reserved.
ZORK is a registered trademark of Infocom, Inc.
Revision 88 / Serial number 840726
West of House
You are standing in an open field west of a white house, with a boarded front door.
There is a small mailbox here.