Permalink
Please sign in to comment.
Browse files
Other changes to make type objects appear as Nil in non-scalar contexts
This typically makes something like: my Hash @a; say @a[42].elems # returns 0 instead of blowing up or saying there is 1 element with the type object.
- Loading branch information...
Showing
with
29 additions
and 17 deletions.
- +16 −12 src/core/EnumMap.pm
- +1 −0 src/core/Hash.pm
- +12 −5 src/core/List.pm
0 comments on commit
c3a58f9