Perl6 Rfc Librarian <[EMAIL PROTECTED]> writes: > >In addition, this RFC recommends deprecating select(), since it is no >longer needed with the new fileobject approach described in RFC 14. > > > $oldoutput = select($newoutput); > >Can now be written simply as reassignments: > > $oldoutput = $STDOUT; > $STDOUT = $filehandle; But that is _NOT_ what select() does: $olddef = select($newdef); print $STDOUT "Still goes to $STDOUT"; print "This goes to $newdef"; select sets the default for a print with no handle specified it does NOT change STDOUT. It will be impossible to translate many perl5 programs to perl6 if that difference is not retained somehow. -- Nick Ing-Simmons
- RFC 30 (v2) STDIN, STDOUT, and STDERR should be rename... Perl6 RFC Librarian
- Re: RFC 30 (v2) STDIN, STDOUT, and STDERR should ... Michael Fowler
- Re: RFC 30 (v2) STDIN, STDOUT, and STDERR sho... Nick Ing-Simmons
- Re: RFC 30 (v2) STDIN, STDOUT, and STDERR should ... Chris Nandor
- Re: RFC 30 (v2) STDIN, STDOUT, and STDERR sho... Nathan Wiger
- Re: RFC 30 (v2) STDIN, STDOUT, and STDERR... Chris Nandor
- Re: RFC 30 (v2) STDIN, STDOUT, and ST... Nathan Wiger
- Re: RFC 30 (v2) STDIN, STDOUT, and STDERR... Nick Ing-Simmons
- Re: RFC 30 (v2) STDIN, STDOUT, and STDERR should ... Nick Ing-Simmons
- Re: RFC 30 (v2) STDIN, STDOUT, and STDERR sho... Graham Barr
- Re: RFC 30 (v2) STDIN, STDOUT, and STDERR... Nathan Wiger