projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
66dc5ce
)
NoSugarContainer doesn't need var
André Walker [Mon, 15 Aug 2011 15:04:40 +0000 (12:04 -0300)]
lib/Catalyst/IOC/Container.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/IOC/Container.pm
b/lib/Catalyst/IOC/Container.pm
index
4370a9a
..
a2987ef
100644
(file)
--- a/
lib/Catalyst/IOC/Container.pm
+++ b/
lib/Catalyst/IOC/Container.pm
@@
-112,8
+112,9
@@
sub BUILD {
{
no strict 'refs';
my $class = ref $self;
- warn("In build " . ${ $class . '::customise_container' });
- ${ $class . '::customise_container' }->($self);
+ warn("In build $class");
+ ${ $class . '::customise_container' }->($self)
+ if ${ $class . '::customise_container' };
}
}