in reply to Re^2: check if it is a file or directory
in thread check if it is a file or directory

File::Slurp will read all directory contents (files and sub-directories) at once. Because your requirement is to process each file one at a time, do not use File::Slurp in this case.
  • Comment on Re^3: check if it is a file or directory

Replies are listed 'Best First'.
Re^4: check if it is a file or directory
by saintex (Scribe) on Feb 26, 2010 at 16:06 UTC
    ok, thank you for your answer!