Subject: | xxx_server.pl missing valid option |
xxx_server.pl is missing '-background' option which is valid in the
Catalyst::Engine::HTTP.pm module run function.
patch against 5.7015 attached
Subject: | http_server_pl_background.patch |
--- Helper.pm 2009-02-06 11:27:41.000000000 +0000
+++ Helper.pm.orig 2009-02-06 11:24:15.000000000 +0000
@@ -933,7 +933,6 @@
my $restart_regex = '(?:/|^)(?!\.#).+(?:\.yml$|\.yaml$|\.conf|\.pm)$';
my $restart_directory = undef;
my $follow_symlinks = 0;
-my $background = 0;
my @argv = @ARGV;
@@ -949,7 +948,6 @@
'restartregex|rr=s' => \$restart_regex,
'restartdirectory=s@' => \$restart_directory,
'followsymlinks' => \$follow_symlinks,
- 'background' => \$background,
);
pod2usage(1) if $help;
@@ -974,7 +972,6 @@
restart_regex => qr/$restart_regex/,
restart_directory => $restart_directory,
follow_symlinks => $follow_symlinks,
- background => $background,
} );
1;
@@ -1006,7 +1003,6 @@
(defaults to '[SCRIPT_DIR]/..')
-follow_symlinks follow symlinks in search directories
(defaults to false. this is a no-op on Win32)
- -background run the process in the background
See also:
perldoc Catalyst::Manual
perldoc Catalyst::Manual::Intro