LTA error message for URL without schema #16

bbkr opened this Issue Aug 24, 2012 · 1 comment


None yet

2 participants

bbkr commented Aug 24, 2012
$  perl6 -e 'use LWP::Simple; say"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/
  in method parse_url at /Users/bbkr/Developer/Perl6/rakudo/install/lib/parrot/4.6.0/languages/perl6/lib/LWP/
  in method request_shell at /Users/bbkr/Developer/Perl6/rakudo/install/lib/parrot/4.6.0/languages/perl6/lib/LWP/
  in method post at /Users/bbkr/Developer/Perl6/rakudo/install/lib/parrot/4.6.0/languages/perl6/lib/LWP/
  in block <anon> at -e:1
cosimo commented Oct 22, 2015

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"http://localhost")';
<!DOCTYPE html>
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.

@cosimo cosimo closed this Oct 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment