in reply to Re: Solving Deep recursion with a tied Filehandle
in thread Solving Deep recursion with a tied Filehandle
and so does{ local *TEMP = *STDOUT; undef(*STDOUT); tie *STDOUT, 'FileHandle::A', *TEMP; } print "testing";
{ my $temp = *STDOUT; undef(*STDOUT); tie *STDOUT, 'FileHandle::A', $temp; } print "testing";
Tested on Perl 5.6.1 and 5.8.0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Solving Deep recursion with a tied Filehandle
by cog (Parson) on Oct 15, 2005 at 18:03 UTC | |
by ikegami (Patriarch) on Oct 15, 2005 at 22:21 UTC | |
by cog (Parson) on Oct 16, 2005 at 14:17 UTC | |
by ikegami (Patriarch) on Oct 16, 2005 at 16:56 UTC |