INVLIST is normally unreachable, so seems like a good idea to just kept that unimplemented.
(there are some INVLISTs inside the interpreter, but no way to access them without XS:
perl -E 'use Inline C => q< SV* gimme_invlist() { return newRV_inc(PL_GCB_invlist); } >; say gimme_invlist()' )
Since I'm at it -- Ref::Util doesn't compile on 5.8. I guess that's intended, but if 5.8 support is ever on the table, here's a thing to watch out for:
perl -MDevel::Peek -le 'sub BM () { "foo" }; { my $x = index "foo", BM }; print ref \BM; Dump(BM)'
\BM is a SCALAR ref, but BM is actually a PVBM, instead of a PVMG like in newer perls.
(note: I edited this ticket to include REGEXP too, forgot to add that before!)
VSTRING: \v1 LVALUE: \substr("abc", 1, 1) REGEXP: \${qr/abc/}
INVLIST is normally unreachable, so seems like a good idea to just kept that unimplemented. (there are some INVLISTs inside the interpreter, but no way to access them without XS: perl -E 'use Inline C => q< SV* gimme_invlist() { return newRV_inc(PL_GCB_invlist); } >; say gimme_invlist()' )
Since I'm at it -- Ref::Util doesn't compile on 5.8. I guess that's intended, but if 5.8 support is ever on the table, here's a thing to watch out for: perl -MDevel::Peek -le 'sub BM () { "foo" }; { my $x = index "foo", BM }; print ref \BM; Dump(BM)' \BM is a SCALAR ref, but BM is actually a PVBM, instead of a PVMG like in newer perls.
(note: I edited this ticket to include REGEXP too, forgot to add that before!)