Subject: | tempdir object interface |
The synopsis shows using tempfile() and tempdir(), and then it goes on to show the object interface for creating a temporary file. For consistency there should also be an object interface for creating a temporary directory, File::Temp->new_tempdir() or similar.