Permalink
Browse files

support -option in Runner

  • Loading branch information...
1 parent 13cca7f commit 7397d0f02765807c592e57e478f0b47a1cc73d9f @miyagawa miyagawa committed Jan 13, 2010
Showing with 8 additions and 7 deletions.
  1. +7 −6 README
  2. +1 −1 lib/Plack/Runner.pm
View
13 README
@@ -1,5 +1,5 @@
NAME
- Plack - PSGI toolkit and servers
+ Plack - PSGI toolkit and server adapters
DESCRIPTION
Plack is a set of PSGI reference server implementations and helper
@@ -10,14 +10,15 @@ DESCRIPTION
MODULES AND UTILITIES
Plack::Server
- Plack::Server is a namespace for PSGI server implementations. We have
- Standalone, CGI, FCGI, Apache, AnyEvent, Coro, Danga::Socket and many
- server environments that you can run PSGI applications on.
+ Plack::Server and its subclasses contains adapters for PSGI servers. We
+ have adapters for Standalone, CGI, FCGI, Apache, AnyEvent, Coro,
+ Danga::Socket and many server environments that you can run PSGI
+ applications on.
- See Plack::Server how to write your own server implementation.
+ See Plack::Server how to write your own adapters.
Plack::Loader
- Plack::Loader is a loader to load one of Plack::Server backends and run
+ Plack::Loader is a loader to load one of Plack::Server adapters and run
PSGI application code reference with it.
Plack::Util
View
@@ -75,7 +75,7 @@ sub run {
my(@options, @argv);
while (defined($_ = shift @ARGV)) {
- if (s/^--//) {
+ if (s/^--?//) {
my @v = split '=', $_, 2;
$v[0] =~ tr/-/_/;
if (@v == 2) {

0 comments on commit 7397d0f

Please sign in to comment.