On 19 Sep 2004 at 1:23, Glenn Linderman wrote: > On approximately 9/19/2004 12:27 AM, came the following characters from > the keyboard of Autrijus Tang: > > On Sat, Sep 18, 2004 at 09:35:47PM -0700, Glenn Linderman wrote: > >
> > Yes: "pp -c" will report "use Module ()" errors, and "pp -x" will also > > do that, as well as reporting "require Module" errors. > > Thanks. And here I thought I could read the documentation! I guess I > skipped those because (1) they look like they do "more than the usual > work" to analyze dependencies (2) when all the Modules actually exist, > they do get included with the "usual work" (3) they don't mention a > thing about giving extra warnings. > Using -c or -x runs your script thru perl. It isn't PAR giving you errors, it's perl. The only true test of a script is what perl thinks. ScanDeps takes a wide shot at detecting things and would generate a lot of false errors, so it silently gets what it can. Alan Stewart
