New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clarification of return code in for 'select FH' case (perldoc -f select) #8839
Comments
From iler.ml@gmail.comCreated by iler.ml@gmail.comProblem: 'perldoc -f select' does not clearly describe return Inline Patch--- perlfunc.pod.000 2007-03-19 06:06:07.000000000 -0400
+++ perlfunc.pod 2007-03-19 06:08:01.000000000 -0400
@@ -4417,8 +4417,9 @@
=item select
-Returns the currently selected filehandle. Sets the current default
-filehandle for output, if FILEHANDLE is supplied. This has two
+Select without arguments returns the currently selected filehandle.
+Select with argument returns the previously selected filehandle, and
+sets the current default filehandle for output. This has two
effects: first, a C<write> or a C<print> without a filehandle will
default to this FILEHANDLE. Second, references to variables related to
output will refer to this output channel. For example, if you have to Perl Info
|
@rgs - Status changed from 'new' to 'resolved' |
From @rgarciaOn 19/03/07, via RT Yakov Lerner <perlbug-followup@perl.org> wrote:
Thanks. I preferred to apply the patch below, which is more concise Change 30646 by rgs@stcosmo on 2007/03/19 23:59:54 Better wording for the return value of select() Affected files ... ... //depot/perl/pod/perlfunc.pod#557 edit Differences ... ==== //depot/perl/pod/perlfunc.pod#557 (text) ==== @@ -4824,8 +4824,8 @@ =item select -Returns the currently selected filehandle. Sets the current default |
Migrated from rt.perl.org#41907 (status was 'resolved')
Searchable as RT41907$
The text was updated successfully, but these errors were encountered: