We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 040f663 commit 2c710e6Copy full SHA for 2c710e6
docs/Perl6/Perl5/Differences.pod
@@ -431,10 +431,10 @@ just functions with a fancy syntax.
431
You can override these to provide the desired semantics.
432
433
class OrderedHash does Associative {
434
- multi sub postcircumfix:<{ }>(Int $index) is export {
+ multi sub postcircumfix:<{ }>(%h, Int $index) is export {
435
# code for accessing single hash elements here
436
}
437
- multi sub postcircumfix:<{ }>(**@slice) is export {
+ multi sub postcircumfix:<{ }>(%h, **@slice) is export {
438
# code for accessing hash slices here
439
440
...
0 commit comments