projects
/
catagits/Web-Simple.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
64a6f95
)
pass ARGV to _run_cli to enable testing
Matt S Trout [Sat, 9 Oct 2010 14:08:08 +0000 (15:08 +0100)]
lib/Web/Simple/Application.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Web/Simple/Application.pm
b/lib/Web/Simple/Application.pm
index
b039308
..
a11972c
100644
(file)
--- a/
lib/Web/Simple/Application.pm
+++ b/
lib/Web/Simple/Application.pm
@@
-275,7
+275,7
@@
sub run {
return $self->_run_cgi;
}
unless (@ARGV && $ARGV[0] =~ m{^/}) {
- return $self->_run_cli;
+ return $self->_run_cli(@ARGV);
}
my $path = shift @ARGV;