Skip to content

Commit

Permalink
Improve IO::Special.WHICH.
Browse files Browse the repository at this point in the history
  • Loading branch information
fluca1978 committed Apr 23, 2018
1 parent b946c58 commit 59b2332
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/Type/IO/Special.pod6
Expand Up @@ -36,7 +36,11 @@ specifying the type of the special IO device.
method WHICH(IO::Special:D: --> Str)
This returns a string that identifies the object.
This returns a string that identifies the object. The string is composed by the
type of the instance (C<IO::Special>) and the C<what> attribute:
$*IN.path.what; # OUTPUT: «<STDIN>␤»
$*IN.path.WHICH; # OUTPUT: «IO::Special<STDIN>␤»
=head2 method Str
Expand Down

0 comments on commit 59b2332

Please sign in to comment.