Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Using stat()

by Anonymous Monk
on Nov 25, 2011 at 10:04 UTC ( [id://940013]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Using stat()
in thread Using stat() to get the total size of files in a folder

Re: extended path search module,
print "$_\n" for glob "*/*bo"; print "$_\n" for glob "/ro/sham/*/*bo";

Replies are listed 'Best First'.
Re^4: Using stat()
by pankaj_it09 (Scribe) on Nov 25, 2011 at 10:11 UTC
    For Windows it will be glob "C:/" ?
    my $size = 0; for my $filename (glob("C:/")) { next unless -f $filename; $size += -s _; }
        Doesn't work.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://940013]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-24 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found