in reply to Re^4: Filehander Question
in thread Filehander Question
As I was replying to this node I thought I better check it - turns out that it doesn't do what I thought it would. Subsequent prints to a lexical file handle that was selected but has gone out of scope still goes to that filehandle instead of reverting back to STDOUT. In light of this new discovery, the dup of STDOUT is not necessary, but it still had value - I learned something cool.
Cheers - L~R
|
|---|