in reply to getting filesize in windows
From the pod:
Nowhere does it mention passing a coderef as the first param.SYNOPSIS %hash = Recurse(\@dirs, \%rules) Go through the @dirs and apply any rules from %rules. It will return a %hash where the keys are directories, and the values are the files in that directory in an array. e.g. $hash{'/usr/local/bin'} = [ 'ls', 'irc', ... ];
I've never used File::Recurse, but you also might want to look at File::Find::Rule.
--
I'm Not Just Another Perl Hacker
|
|---|