1N/A# &find('/foo','/bar'); 1N/A# where wanted does whatever you want. $dir contains the 1N/A# current directory name, and $_ the current filename within 1N/A# that directory. $name contains "$dir/$_". You are cd'ed 1N/A# to $dir when the function is called. The function may 1N/A# set $prune to prune the tree. 1N/A# This library is primarily for find2perl, which, when fed 1N/A# find2perl / -name .nfs\* -mtime +7 -exec rm -f {} \; -o -fstype nfs -prune 1N/A# spits out something like this 1N/A# (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_)) && 1N/A# ($nlink || (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_))) && 1N/A# Set the variable $dont_use_nlink if you're using AFS, since AFS cheats.