jeevs wrote:
I am in need to write a script which will count the number of files
and directories in a given directory. It will also record the
statistics of the directory within the main directory.
I have thought of a hash structure like
%hash = {
filecnt => value,
dircnt
On Fri, Mar 21, 2008 at 5:01 PM, jeevs <[EMAIL PROTECTED]> wrote:
> My question is.. Is there already a perl module which will be able to
> parse the directory structure and give me the required output.
sure.like Filesys::Tree module on cpan.
For example, the code below,
use Filesys::Tree qw/