projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Put some of the mod_perl code back. This is pretty much untested and won't work,...
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Component.pm
diff --git
a/lib/Catalyst/Component.pm
b/lib/Catalyst/Component.pm
index
bccd3f9
..
1b2d462
100644
(file)
--- a/
lib/Catalyst/Component.pm
+++ b/
lib/Catalyst/Component.pm
@@
-85,8
+85,6
@@
sub BUILDARGS {
} elsif (Class::MOP::is_class_loaded($_[0]) &&
$_[0]->isa('Catalyst') && ref($_[1]) eq 'HASH') {
$args = $_[1];
- } elsif ($_[0] eq $_[1]) {
- $args = $_[1];
} else {
$args = +{ @_ };
}