in reply to Re^2: Solving Deep recursion with a tied Filehandle
in thread Solving Deep recursion with a tied Filehandle

None of those work with my 5.8.7
  • Comment on Re^3: Solving Deep recursion with a tied Filehandle

Replies are listed 'Best First'.
Re^4: Solving Deep recursion with a tied Filehandle
by ikegami (Patriarch) on Oct 15, 2005 at 22:21 UTC
    How about
    { local *TEMP; open(TEMP, ">&STDOUT") or die("Unable to dup STDOUT: $!\n"); undef(*STDOUT); tie *STDOUT, 'FileHandle::A', *TEMP; } print "testing";
      Nope :-\ Same thing :-\
        That's so weird. I wonder why. They all work with 5.6.1 and 5.8.0