The script in my previous post prints non-zero times for all files and directories in the current directory when I run it on my system.
If you are running the same script and getting times of zero for everything other than "." and "..", then something quite strange is happening. I suggest you post the script you are running (the whole script, not part of it and remember to use code tags so we can read it), a sample of the output you get on your system and details of your system including operating system, version, perl distribution and version.
In reply to Re^3: Age of directory
by ig
in thread Age of directory
by sandy1028
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |