Re: Method 'send' not found for invocant of class 'IO::Socket::INET'

2015-09-26 Thread Gabor Szabo
Tobias thanks! I ran panda install HTTP::Easy and it installed the new version in /Users/gabor/rakudo-star-2015.09/install/share/perl6/site/lib/HTTP/Easy.pm6 but Rakudo is still loading the old one from /Users/gabor/rakudo-star-2015.09/install/share/perl6/lib/HTTP/Easy.pm6 and crashing. I can

Method 'send' not found for invocant of class 'IO::Socket::INET'

2015-09-26 Thread Gabor Szabo
In the cloned repository of Bailador I ran perl6 examples/app.pl It launched the web server printing Entering the development dance floor: http://0.0.0.0:3000 [2015-09-26T10:04:46Z] Started HTTP server. but when I tried to access it with a browser it crashed with: [2015-09-26T10:04:49Z] GET /

Re: Method 'send' not found for invocant of class 'IO::Socket::INET'

2015-09-26 Thread Moritz Lenz
Hi, method .send was deprecated in favor of .print (for strings) and .write (with bufs/blobs) Maybe Bailador or one of its dependencies needs updating. Cheers, Moritz

Re: Method 'send' not found for invocant of class 'IO::Socket::INET'

2015-09-26 Thread Tobias Leich
You need to upgrade HTTP::Easy, it already contains a fix. Am 26.09.2015 um 12:26 schrieb Gabor Szabo: > And just to clarify launching this simple script (and then accessing > it via a browser) would show the same problem: > > use lib 'lib'; > > use Bailador; > > get '/' => sub { > "hello