in reply to getting directory path to file using File::Find

$name = $Find::File::name; print "$name, $size\n";

d'oh

cLive ;-)

Update: LoL d'oh - I fix the typo without fixing the typo - see below :)

Replies are listed 'Best First'.
Re: Re: getting directory path to file using File::Find
by Anonymous Monk on Nov 07, 2002 at 10:35 UTC

    Thank-you!

    Still the same problem though - this is what is printed out:
    , 102700 , 104520
    etc

    The $name variable appears to be blank - what gives?