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.
|