Hi,
I just tried to pp the first example from
http://poe.perl.org/?POE_Cookbook/Tk_Interfaces
and got a similar result to yours (complaints about missing POE::Session and
PO::Loop::Select) on Linux, so it's not Windows specific.
Here's a patch for Module::ScanDeps 0.74
- fix typo POE -> POE.pm
- add more stuff when POE/Kernel.pm is detected.
With this patch applied, the freshly pp'ed example works as intended.
BTW, you definitely do not need all these "use POE::Resource::Foo",
simply "use POE;" should be enough.
Cheers, Roderich
--- lib-0.74/Module/ScanDeps.pm 2007-04-30 20:42:42.000000000 +0200
+++ lib/Module/ScanDeps.pm 2007-06-05 11:47:23.000000000 +0200
@@ -307,15 +307,17 @@
_glob_in_inc('PDF/API2/Basic/TTF', 1);
},
'PDF/Writer.pm' => 'sub',
- 'POE' => [ qw(
+ 'POE.pm' => [ qw(
POE/Kernel.pm POE/Session.pm
) ],
- 'POE/Kernel.pm' => [
- map "POE/Resource/$_.pm", qw(
- Aliases Events Extrefs FileHandles
- SIDs Sessions Signals Statistics
- )
- ],
+ 'POE/Kernel.pm' => sub {
+ return(
+ _glob_in_inc('POE/XS/Resource', 1),
+ _glob_in_inc('POE/Resource', 1),
+ _glob_in_inc('POE/XS/Loop', 1),
+ _glob_in_inc('POE/Loop', 1)
+ );
+ },
'Parse/AFP.pm' => 'sub',
'Parse/Binary.pm' => 'sub',
'PerlIO.pm' => [ 'PerlIO/scalar.pm' ],