This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove length magic on scalars
authorFather Chrysostomos <sprout@cpan.org>
Fri, 28 Sep 2012 21:47:05 +0000 (14:47 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 1 Oct 2012 19:51:56 +0000 (12:51 -0700)
commit9bb29b6866a80dfaa3765b219ca04942676a2fae
treeb7502edc78b227328733cfcbf76488e566301e64
parent158f7f72a5e9f438a9abd9881df85a8999adcb38
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.
embed.fnc
embed.h
mg.c
mg_vtable.h
proto.h
regen/mg_vtable.pl