Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[Web::Handler::HTTPDaemon] compensate for Rakudo fix

It's no longer Callable &app, just &app. Rakudo used to get this wrong,
but now it gets it right, so we must, too.
  • Loading branch information...
commit c3b9264c9db8adf7920a6fb4c3a1846e581c27c7 1 parent 9c16b38
Carl Mäsak authored October 12, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/Web/Handler/HTTPDaemon.pm
2  lib/Web/Handler/HTTPDaemon.pm
@@ -3,7 +3,7 @@ use v6;
3 3
 use HTTP::Daemon;
4 4
 
5 5
 class Web::Handler::HTTPDaemon {
6  
-    method run(Callable &app, :$port = 8888) {
  6
+    method run(&app, :$port = 8888) {
7 7
         my HTTP::Daemon $d .= new(LocalPort => $port);
8 8
         while my $c = $d.accept and my HTTP::Request $r = $c.get_request {
9 9
             my $qs = $r.url.path ~~ / '?' (.*) $/ ?? $0 !! '';

0 notes on commit c3b9264

Please sign in to comment.
Something went wrong with that request. Please try again.