in reply to Re: checking to see if a directory is empty
in thread checking to see if a directory is empty

That's a glob in a scalar context, aka Broken. See Re^3: Finding if files exist when names randomly have letters in both upper and lower cases for more information and examples.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on Re^2: checking to see if a directory is empty