in reply to Getting the size of files and stuff

Ok Im tryint to do this with No Modules :

Is this homework or do you like bondage SM? Just use File::Find. It's in the core distribution, so available everywhere.

Say a I have a direcotry that I want to get the size of all the files in it,

but there is directories inside that directory that have files and more direcotries in side sub-direcotries

Just use File::Find or, if you really do not want to, at least copy its source - this wheel has already been invented.

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.

  • Comment on Re: Getting the size of files and stuff

Replies are listed 'Best First'.
Re: Re: Getting the size of files and stuff
by rdfield (Priest) on Jul 07, 2002 at 18:35 UTC
    Are we to belive that only you can reinvent wheels, Juerd?
    Or perhaps only you are able to judge which wheels are in need of reinventing?

    :)

    rdfield

      Are we to belive that only you can reinvent wheels, Juerd?

      No, everyone can.

      Or perhaps only you are able to judge which wheels are in need of reinventing?

      No, many people are - as you can see, I'm not the only one who advises using File::Find.

      - Yes, I reinvent wheels.
      - Spam: Visit eurotraQ.