in reply to Using Permissions as a Parameter
foreach $file (@files) { next if -l "$directoryName/$file"; print "$file\n\n"; } [download]
Update: Added the directory name as per jwkhran's post below