in reply to Find Created and Last Modified Date of Excel xls file

Update: Oh, I just noticed: Perl Version: 5.10.1 running on Linux workstation.

You can't get the creation time from the file system because it doesn't exist on Unix. I don't even know if "creation time" is stored in the older .xls format.
======

There are some complications with achieving your goals. Perl has built in file test operators. BUT, these operators only supply information that would be available on a Unix file system. Unix does not have the idea of a "created on" or "Born On" date. Windows does have that concept and you will need to use a Windows specific api to get it.

In Unix you can get the mtime(last modified), atime (last accessed) and ctime (last inode change time). ctime is not creation time.

The easiest way to get mtime: time = -M "filepath";. seefile test operators.

For the Windows creation time, I think Win32::API:File will get you there. Although there may be a better module for this or a command line command that you could run. In this Win32 api, they labeled ctime as "creation time". I would run some tests on Windows to make sure that is really what you are getting.

Summary, Last Modified Time is easy. Creation Time is only available on Windows and is more difficult to get because there is no "standard" Perl function for it.