SelectSaver(3perl) - phpMan

Command: man perldoc info search(apropos)  


SelectSaver(3perl)               Perl Programmers Reference Guide              SelectSaver(3perl)

NAME
       SelectSaver - save and restore selected file handle

SYNOPSIS
           use SelectSaver;

           {
              my $saver = SelectSaver->new(FILEHANDLE);
              # FILEHANDLE is selected
           }
           # previous handle is selected

           {
              my $saver = SelectSaver->new;
              # new handle may be selected, or not
           }
           # previous handle is selected

DESCRIPTION
       A "SelectSaver" object contains a reference to the file handle that was selected when it
       was created.  If its "new" method gets an extra parameter, then that parameter is
       selected; otherwise, the selected file handle remains unchanged.

       When a "SelectSaver" is destroyed, it re-selects the file handle that was selected when it
       was created.

perl v5.34.0                                2023-11-23                         SelectSaver(3perl)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-12-09 01:38 @18.97.14.82 CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0!Valid CSS!