Skip to content

Commit

Permalink
Fixed some typos, thanks to x3nU for reporting them to masak.
Browse files Browse the repository at this point in the history
  • Loading branch information
supernovus committed Aug 1, 2010
1 parent 497d3a2 commit e16beee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README
Expand Up @@ -26,13 +26,13 @@ the heavy lifting for you:

use SCGI;

my $scgi = SCGI.new( :addr<localhost> :port(8080) );
my $scgi = SCGI.new( :addr<localhost>, :port(8080) );

my $handler = sub (%env) {
my $name = %env<QUERY_STRING> // 'world';
my $response = "Content-Type: text/plain\n\n";
$response ~= "Hello $name\n";
return $return;
return $response;
}

$scgi.handle: $handler;
Expand Down

0 comments on commit e16beee

Please sign in to comment.