Giving a file name is ok. I put every files on my c drive and It’s somewhat faster
I got the following error when I run the exe Could not find a suitable B::Hooks::EndOfScope implementation: Can't locate Variable/Magic.pm in @INC (…) at Module/Runtime.pm line 317. Can't locate B/Hooks/EndOfScope/PP/FieldHash.pm in @INC ( … ) at Module/Runtime.pm line 317. … Shall I add –M Variable/Magic.pm – M B/Hooks/EndOfScope/PP/FieldHash.pm ? Best François From: roderich.sch...@gmail.com [mailto:roderich.sch...@gmail.com] On Behalf Of Roderich Schupp Sent: mardi, 19. août 2014 14:05 To: RAPPAZ Francois Cc: par@perl.org Subject: Re: packaging a script that uses DBIx::Class On Tue, Aug 19, 2014 at 1:11 PM, RAPPAZ Francois <francois.rap...@unifr.ch<mailto:francois.rap...@unifr.ch>> wrote: Well, at the end you were right… scandeps.pl<http://scandeps.pl> return after some 40 minutes… Is your Perl installation (or anything in @INC) on a network share? Your test script pulls in several of the worst offenders, e.g. DateTime causes lots of DateTime/Locale/* and DateTime/Timezone/* files to be scanned, there's also Moose, Perl unicore... I tried the –cd File option with pp and received an error, something like “cannot write to FILE, permission denied”, whether I gave a relative or an absolute path to an existing directory. That’s a file name I have to give ? Yes, if it doesn't exist, Module::ScanDeps will create it. Sorry, I currently can't try this myself, can you check with a simple example.pl<http://example.pl> whether scandeps.pl<http://scandeps.pl> -C cache_file example.pl<http://example.pl> works and then try pp --cd cache_file example.pl<http://example.pl> Cheers, Roderich