Gossamer Forum
Home : General : Perl Programming :

Question

Quote Reply
Question
What does the statement 'open(SAVED, ">&STDOUT");' mean? The meaning of the '&' character has me stumpted. Apparently this syntax can be used to save the STDOUT handle ... which can be restored later by means of the following statement 'open(STDOUT, ">&SAVED"). Can't find any reference to the use of the & character in this context. What is going on here?
Subject Author Views Date
Thread Question parkerpe 3889 Jan 15, 2004, 3:48 PM
Post Re: [parkerpe] Question
Chaz 3706 Jan 16, 2004, 8:16 AM