Author: masak Date: 2009-02-02 13:05:20 +0100 (Mon, 02 Feb 2009) New Revision: 25172
Modified: docs/Perl6/Spec/S16-io.pod Log: [S16] added :async flag to getc Modified: docs/Perl6/Spec/S16-io.pod =================================================================== --- docs/Perl6/Spec/S16-io.pod 2009-02-02 12:04:56 UTC (rev 25171) +++ docs/Perl6/Spec/S16-io.pod 2009-02-02 12:05:20 UTC (rev 25172) @@ -314,11 +314,12 @@ =item getc - our Bool method getc (IO $self: *...@list) + our Bool method getc (IO $self: Bool :async) Returns the next character from the input stream attached to IO, or the undefined value at end of file, or if there was an error (in -the latter case C<$!> is set). +the latter case C<$!> is set). The C<:async> flag lets the call +return an undefined value if no character is immediately available. =item print