Now I have a working exe with including each missing modules with the –M option.
Running c:\docs\dokpe_i02_dbc>scandeps.pl -xVB cmdui.pl .commandes_localhost > scan_out_dyn.txt I got SYSTEM ERROR in executing cmdui.pl: 65280 at C:/strawberry/perl/site/lib/Module/ScanDeps.pm line 1351. François From: roderich.sch...@gmail.com [mailto:roderich.sch...@gmail.com] On Behalf Of Roderich Schupp Sent: mercredi, 20. août 2014 09:20 To: RAPPAZ Francois Cc: par@perl.org Subject: Re: packaging a script that uses DBIx::Class On Wed, Aug 20, 2014 at 8:47 AM, RAPPAZ Francois <francois.rap...@unifr.ch<mailto:francois.rap...@unifr.ch>> wrote: OK : I did gave a directory DBC/Schema/Result and it search for a file DBC/Schema/Result.pm Nonsense. I noticed that sometimes you say "DBC" and sometimes "Dbc". Is there a way to include as modules all the pm files in the . DBC/Schema/Result folder ? No. Again: how are these pm files loaded by your script . Maybe you don't explicitly, but some DBIx::Class machinery does that for you? Perhaps it's using something like Module::Runtime's require_module()? That's one example of a dependency that Module::ScanDeps can't find out by static analysis. Cheers, Roderich