in reply to Re: Stat and file size
in thread Stat and file size

Not sure how I would use that Kenosis, sorry

Replies are listed 'Best First'.
Re^3: Stat and file size
by Kenosis (Priest) on Jul 28, 2012 at 20:09 UTC

    Here's one way to use it:

    use strict; use warnings; my $dir = './'; my @nonZeroLengthFiles = grep -s, <$dir*>; print "$_\n" for @nonZeroLengthFiles;

    This will print a list of all zero-length files in $dir.