Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Re: How to obtain the size of a remote Winnt4 shareby zakb (Pilgrim) |
on Jun 18, 2003 at 14:48 UTC ( [id://266848]=note: print w/replies, xml ) | Need Help?? |
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?).
In Section
Seekers of Perl Wisdom
|
|