Skip to content

Commit

Permalink
:delete on associative type objects, refs #6232
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Mar 18, 2020
1 parent ee4d988 commit c638953
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/Language/subscripts.pod6
Expand Up @@ -586,6 +586,12 @@ element will at the same time also be deleted.
See L<#method DELETE-POS> and L<#method DELETE-KEY> for the underlying
mechanism.
You can use also these adverbs on associative type objects, but it will
actually do nothing; it will also return C<Nil>
=for code
say Hash<foo>:delete; # OUTPUT: «Nil␤»
X<|:p (subscript adverb)>
=head2 C<:p>
Expand Down

0 comments on commit c638953

Please sign in to comment.