Does the stat method work differently between Unix and Win32?  I'm
looking at the 4th element in the list it returns, nlink, where on Unix,
if there are no sub directories in that directory, you only see the two
hard links, the actual link in the previous directory and the local link
'.'.  If there are more directories in that directory, you should see a
number > 2 for nlink.  I'm testing with komodo a script I was testing on
Unix, and after a stat call, I get a nlinke of 1 for a directory which
has 6 subdirectories in it.  Is there a different function for
determining this, other than doing a file test on every file to see if
it's a regular file or a directory?  Thay may be the way I have to go.
Thanks in advance.  I'm more knowledgable on a Unix machine.  Sorry.

Doug

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to