I've learned alot from all this. Thanks for the info! This is what I pulled from the learning perl book. ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$b
locks) = stat(...) I tried this to access the mode but it puts out a number 16877 that I don't konw how to decipher. my($mode) = (stat("$base/$dir_path"))[2]; and is this code platform independant?