Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: How to obtain the size of a remote Winnt4 share

by zakb (Pilgrim)
on Jun 18, 2003 at 14:48 UTC ( [id://266848]=note: print w/replies, xml ) Need Help??


in reply to Re: How to obtain the size of a remote Winnt4 share
in thread How to obtain the size of a remote Winnt4 share

Change your map line to:

print join("\n", grep { defined } @dirstats);

...and you avoid using map in a void context (What's wrong with using grep or map in a void context?).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://266848]
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: (6)
As of 2024-04-23 17:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found