This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Refactor ENAME dumping in Perl_do_sv_dump() to simplify the code slightly.
authorNicholas Clark <nick@ccl4.org>
Thu, 25 Nov 2010 11:53:10 +0000 (11:53 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 25 Nov 2010 11:53:10 +0000 (11:53 +0000)
commitec3405c82bf3efe09e36ca55c492c32c1235f449
treeaab36b0d51e4d6da1a931e06f2c2fa2af483b47d
parentbed530647b88d70e1ad8d2e42b54447ea27c5bd3
Refactor ENAME dumping in Perl_do_sv_dump() to simplify the code slightly.

Simpler code avoids the need for a comment explaining how the complex code was
working. Also use newSVpvs_flags() in place of sv_newmortal() and sv_setpv().
dump.c