http://qs1969.pair.com?node_id=331676


in reply to Re: stat weirdness?
in thread stat weirdness?

To quote the page of the POSIX standard pertaining to stat:

If the named file is a symbolic link, the stat() function shall continue pathname resolution using the contents of the symbolic link, and shall return information pertaining to the resulting file if the file exists.

So the behavior that the OP is experiencing should be expected.

antirice    
The first rule of Perl club is - use Perl
The
ith rule of Perl club is - follow rule i - 1 for i > 1