in reply to Safe File Handling
update: perldoc perlfunc is a good start to search for a builtin function in perl.