File::Remove::remove removes files and directories. It acts like /bin/rm, for the most part.