This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Patch by Ilya Zakharevich to give more meaningful error
[perl5.git] / pad.c
diff --git a/pad.c b/pad.c
index 4d87758..cbc1cb5 100644 (file)
--- a/pad.c
+++ b/pad.c
@@ -393,7 +393,13 @@ for a slot which has no name and no active value.
 
 /* XXX DAPM integrate alloc(), add_name() and add_anon(),
  * or at least rationalise ??? */
-
+/* And flag whether the incoming name is UTF8 or 8 bit?
+   Could do this either with the +ve/-ve hack of the HV code, or expanding
+   the flag bits. Either way, this makes proper Unicode safe pad support.
+   Also could change the sv structure to make the NV a union with 2 U32s,
+   so that SvCUR() could stop being overloaded in pad SVs.
+   NWC
+*/
 
 PADOFFSET
 Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype)