summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-09-28 14:47:05 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-10-01 12:51:56 -0700
commit9bb29b6866a80dfaa3765b219ca04942676a2fae (patch)
treeb7502edc78b227328733cfcbf76488e566301e64 /regen
parent158f7f72a5e9f438a9abd9881df85a8999adcb38 (diff)
downloadperl-9bb29b6866a80dfaa3765b219ca04942676a2fae.tar.gz
Remove length magic on scalars
It is not possible to know how to interpret the returned length without accessing the UTF8 flag, which is not reliable until the SV has been stringified, which requires get-magic. So length magic has not made senses since utf8 support was added. I have removed all uses of length magic from the core, so this is now dead code.
Diffstat (limited to 'regen')
-rw-r--r--regen/mg_vtable.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/mg_vtable.pl b/regen/mg_vtable.pl
index 5c42153fa4..e095614e83 100644
--- a/regen/mg_vtable.pl
+++ b/regen/mg_vtable.pl
@@ -113,7 +113,7 @@ my %mg =
# These have a subtly different "namespace" from the magic types.
my %sig =
(
- 'sv' => {get => 'get', set => 'set', len => 'len'},
+ 'sv' => {get => 'get', set => 'set'},
'env' => {set => 'set_all_env', clear => 'clear_all_env'},
'envelem' => {set => 'setenv', clear => 'clearenv'},
'sigelem' => {get => 'getsig', set => 'setsig', clear => 'clearsig',