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 |