Swaroop, did none of the answers given in your previous post asking the same question work for you? (that link won't log you out, as the one by kprasanna_79 currently does)
-Scott
Comment on Re: How to list files in dir with respect to time ?
I'm new to Perl. In addition, I really struggled when I moved my scripts from Linux <=> Solaris.
We can write a simple code or algorithm, So Instead of using UNIX native commands (I mean OS specific commands or some modules, which supports specific OS).