Read last modification time for a given directory

cabrera48 used Ask the Experts™
Is it possible to read the last modification for a given directory using perl? Last modification meaning the last time a file changed or a file was added or deleted inside a given directory. Please let me know, thanks.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2014
Top Expert 2015
for files added or deleted you can use
(stat $directory)[9]

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial