Perl 5 version 14.3 documentation
SelectSaver - save and restore selected file handle
object contains a reference to the file handle that
was selected when it was created. If its
method gets an extra
parameter, then that parameter is selected; otherwise, the selected
file handle remains unchanged.
is destroyed, it re-selects the file handle
that was selected when it was created.