CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
How to calculate the largest directory excluded

 



jaden5165
New User

Nov 13, 2012, 4:03 PM

Post #1 of 2 (1124 views)
How to calculate the largest directory excluded Can't Post

 
Hi,

I just start up with PERL.And I got a question about if I've been given a zip file which has a lot of files and directories in it.I need to output the largest directory without including the subdirectories.How to sum all the files in the directory without summing the size of the subdirectory?
Look forward to hearing from you.

I need to make use of hash and regular expression.


Laurent_R
Enthusiast / Moderator

Nov 13, 2012, 11:09 PM

Post #2 of 2 (1119 views)
Re: [jaden5165] How to calculate the largest directory excluded [In reply to] Can't Post

Take a look at my answer on your cross post at the Dev Shed forum.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives