in reply to File Test -A problem on SunOS 5.9 & perl 5.8.3

add a system("ls -u /the/file") to your code directly after the -A and see what the OS thinks the last accessed time was.

Replies are listed 'Best First'.
Re: Re: File Test -A problem on SunOS 5.9 & perl 5.8.3
by zakzebrowski (Curate) on May 25, 2004 at 14:02 UTC
    This doesn't work. Ideas? Output:
    bash-2.05$ls -u /tmp/file.dat file.dat bash-2.05$ls -u /tmp/somedir bash-2.05$


    ----
    Zak - the office
      Sorry, that should be ls -lu
        it works for files, but for dirs I get:
        bash-2.04$ls -lu dirname total 0 bash-2.04$


        ----
        Zak - the office