Hi,
there's a problem with "pp -M ...". It shows when you
compare the result of the following commands
$ pp -o use.exe -p "use $MOD; print q[OK]"
$ pp -o minusm.exe -M $MOD -e "print q[OK]"
for some MOD (e.g. MOD=Tie::IxHash,Encode::Unicode,DBI)
Comparing the zip's contents (as shown by "unzip -l use.exe" etc) gives
MOD=Tie::IxHash
--- use.toc Wed Jan 21 15:02:50 2004
+++ minusm.toc Wed Jan 21 15:02:50 2004
@@ -16,7 +16,6 @@
lib/Text/ParseWords.pm
lib/Thread.pm
lib/Tie/Hash.pm
-lib/Tie/IxHash.pm
lib/XSLoader.pm
lib/auto/DynaLoader/autosplit.ix
lib/auto/DynaLoader/dl_expandspec.al
MOD=Encode::Unicode
--- use.toc Wed Jan 21 14:34:06 2004
+++ minusm.toc Wed Jan 21 14:34:07 2004
@@ -11,7 +11,6 @@
lib/Encode/Alias.pm
lib/Encode/Config.pm
lib/Encode/Encoding.pm
-lib/Encode/Unicode.pm
lib/Exporter.pm
lib/Exporter/Heavy.pm
lib/Fcntl.pm
@@ -31,9 +30,6 @@
lib/auto/Encode/Encode.bs
lib/auto/Encode/Encode.dll
lib/auto/Encode/Encode.exp
-lib/auto/Encode/Unicode/Unicode.bs
-lib/auto/Encode/Unicode/Unicode.dll
-lib/auto/Encode/Unicode/Unicode.exp
lib/auto/Fcntl/Fcntl.bs
lib/auto/Fcntl/Fcntl.dll
lib/auto/Fcntl/Fcntl.exp
MOD=DBI
--- use.toc Wed Jan 21 15:13:34 2004
+++ minusm.toc Wed Jan 21 15:13:34 2004
@@ -16,7 +16,6 @@
lib/DBD/Oracle.pm
lib/DBD/Oracle/GetInfo.pm
lib/DBD/Sponge.pm
-lib/DBI.pm
lib/DBI/PurePerl.pm
lib/Data/Dumper.pm
lib/DynaLoader.pm
@@ -75,16 +74,6 @@
lib/auto/DBD/Oracle/dbdimp.h
lib/auto/DBD/Oracle/mk.pm
lib/auto/DBD/Oracle/ocitrace.h
-lib/auto/DBI/DBI.bs
-lib/auto/DBI/DBI.dll
-lib/auto/DBI/DBI.exp
-lib/auto/DBI/DBI.pdb
-lib/auto/DBI/DBIXS.h
-lib/auto/DBI/Driver.xst
-lib/auto/DBI/Driver_xst.h
-lib/auto/DBI/dbd_xsh.h
-lib/auto/DBI/dbi_sql.h
-lib/auto/DBI/dbipport.h
lib/auto/Data/Dumper/Dumper.bs
lib/auto/Data/Dumper/Dumper.dll
lib/auto/Data/Dumper/Dumper.exp
i.e. the module itself (both pm and dll in case of an XS module)
is MIA for "pp -M ..." though all modules it depends on are
there. I can reproduce this on Linux and WinXp (using
perl 5.8.2, PAR 0.79, Module::Scandeps 0.38 on both platforms).
Cheers, Roderich