CentOS 7.0 - man page for selectsaver (centos section 3pm)

Linux & Unix Commands - Search Man Pages

Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

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

       SelectSaver - save and restore selected file handle

	   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

       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.16.3				    2013-02-26				 SelectSaver(3pm)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 02:04 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
Show Password

Not a Forum Member?
Forgot Password?