On Mon, Jan 24, 2011 at 3:53 PM, Roderich Schupp
<[email protected]> wrote:
> Looks more like a problem of Log::Report (which is "use"d by
> Hash::Case::Lower).
Further investigation shows that Log::Report::Dispatcher "require"s some
Log::Report::Dispatcher::$foo with $foo computed at import time
which definitely can't be detected by Module::ScanDeps.
Please apply the following patch to Module::ScanDeps, then re-pack your script
and try running the resulting executable.
Note that the rule added below means that we now "detect" (and hence pack) all
Log::Report::Dispatcher::* modules and their dependencies (which
includes Log4perl
if you have that installed), even if Hash::Cache doesn't use most of them.
<rant> I generally like Mark Overmeer's stuff, but I think that he went a little
too far here in forcing this humongous Log::Report on every user of a
simple data
structure module. </rant>
Cheers, Roderich
Index: lib/Module/ScanDeps.pm
===================================================================
--- lib/Module/ScanDeps.pm (revision 1231)
+++ lib/Module/ScanDeps.pm (working copy)
@@ -323,6 +323,7 @@
},
'Log/Log4perl.pm' => 'sub',
'Log/Any.pm' => 'sub',
+ 'Log/Report/Dispatcher.pm' => 'sub',
'LWP/UserAgent.pm' => sub {
return(
qw(