in reply to B::Lint Usage Problems

Forgot one question:

Why do I see lint warnings with File::Copy and File::Path but I don't see any warnings for my own personal module (bar.pm)? According to the B::Lint manpage (see the -u option) "Normally, Lint only checks the main code of the program together with all subs defined in package main." So, I wouldn't expect any warnings on File::Copy and File::Path, or I would expect warnings for all modules, right??

Thanks - Shannon

Replies are listed 'Best First'.
Re: Re: B::Lint Usage Problems
by Joost (Canon) on Aug 16, 2002 at 12:37 UTC
    It might be because File::Copy and File::Path export subroutines that then are also in the main:: package, but that's just a guess as I've never used B::Lint.

    Hope that explains a bit,
    Joost.

    -- Joost downtime n. The period during which a system is error-free and immune from user input.