in reply to Directory tree explorer with stats reporting

I tell it "c:" and it lists local files (my desktop) but claims to be examining c:. It can't find the local files at c:/, so it doesn't tell the bytes and warns about $path being undef on STDERR.
'./' works though.
  • Comment on Re: Directory tree explorer with stats reporting

Replies are listed 'Best First'.
Re^2: Directory tree explorer with stats reporting
by GrandFather (Saint) on Mar 10, 2006 at 20:17 UTC

    I've only tested it on Windows XP so, although in principle it should mostly work, there are likely *nix idioms that I'm not aware of that trip it up.

    If you (or anyone else) can sort out the problem and post the updated code I'd be very pleased. Especially if you describe the changes that were required.


    DWIM is Perl's answer to Gödel
Re^2: Directory tree explorer with stats reporting
by blogical (Pilgrim) on Mar 11, 2006 at 09:16 UTC
    parv hit the size issue. I've tested with XP and 2000, and would like to suggest some massaging of the $rootPath... using 'c:' runs it incorrectly in the local dir, './' works correctly, anything else I tried ('C:', 'C:/', '/c'...) hung or was ignored.
    I'm not sure what would be required, but a translation of $rootPath to a windows friendly format if $^O =~/win/i might be nice.