Michael Fowler [EMAIL PROTECTED] writes:
On Sat, Aug 12, 2000 at 08:49:00AM -, Perl6 RFC Librarian wrote:
In addition, this RFC recommends deprecating select(), since it is no
longer needed with the new fileobject approach described in RFC 14.
You should probably mention here that the
Graham Barr wrote:
Create a new handle, like $DEFOUT. Then there would be no need
for selectsaver either as you would do the equiv. of
local($DEFOUT) = $newhandle;
Just submitted an RFC on this exact idea.
-Nate
At 9:45 -0700 2000.08.12, Nathan Wiger wrote:
For other stuff, like print(), instead of using the "currently selected
filehandle", just always have it print to $STDOUT unless something's
specified. So:
$oldstdout = $STDOUT;
$STDOUT = $myfileobject;
print "Hello, world!"; # always