projects
/
p5sagit/Module-Metadata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3db2701
)
make fallback actually work
Matt S Trout [Sun, 21 Mar 2010 12:36:54 +0000 (12:36 +0000)]
lib/Module/Metadata.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Module/Metadata.pm
b/lib/Module/Metadata.pm
index
fe027b7
..
6bfe11c
100644
(file)
--- a/
lib/Module/Metadata.pm
+++ b/
lib/Module/Metadata.pm
@@
-21,7
+21,7
@@
BEGIN {
if ($INC{'Log/Contextual.pm'}) {
Log::Contextual->import('log_info');
} else {
- *log_info = sub { warn @_ };
+ *log_info = sub (&) { warn $_[0]->() };
}
}
use File::Find qw(find);