in reply to Re: Memory Leaks can it be helped?
in thread Memory Leaks can it be helped?

I think there might be a relation between these errors and the memory use.
What makes you think that? It turns out that both modules export a constant named SUCCESS, and that is the source of the warnings. But it has nothing to do with the memory leak. The OP is using the fully qualified name $File::DirWalk::SUCCESS, so there's no need to import anything from that module, and "use File::Dirwalk ();" should squelch the warnings.

That said, I agree with some of the reviewers of File::DirWalk in that I don't see any advantage of this module over File::Find.

Replies are listed 'Best First'.
Re^3: Memory Leaks can it be helped?
by chromatic (Archbishop) on Aug 17, 2007 at 23:21 UTC
    What makes you think that?

    Years of experience answering questions where people don't post the warnings that, if they had read and understood, would have helped them fix their own problems, combined with the curious mixture of global and lexicals and the possible circular reference involved with passing one object to another.

    Call it a hunch.