summaryrefslogtreecommitdiff
path: root/pod/perltodo.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perltodo.pod')
-rw-r--r--pod/perltodo.pod10
1 files changed, 10 insertions, 0 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod
index 2f840555fb..9695e6d44c 100644
--- a/pod/perltodo.pod
+++ b/pod/perltodo.pod
@@ -525,6 +525,16 @@ Instead of having to guess whether a string is a v-string and thus
needs to be displayed with %vd, make v-strings (readonly) objects
(class "vstring"?) with a stringify overload.
+=head2 Allow restricted hash assignment
+
+Currently you're not allowed to assign to a restricted hash at all,
+even with the same keys.
+
+ %restricted = (foo => 42); # error
+
+This should be allowed if the new keyset is a subset of the old
+keyset. May require more extra code than we'd like in pp_aassign.
+
=head1 Vague ideas
Ideas which have been discussed, and which may or may not happen.