in reply to Re: return $paths only if ...
in thread return $paths only if ...

if (@paths) is simpler.


Improve your skills with Modern Perl: the free book.