perldoc -f opendir perldoc -f readdir