This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don’t produce uninit warning for ->VERSION(9e99)
authorFather Chrysostomos <sprout@cpan.org>
Wed, 18 Apr 2012 00:14:14 +0000 (17:14 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 18 Apr 2012 00:45:14 +0000 (17:45 -0700)
commitd29d0fd4f08c55e04a9f14af36cd918efe3c8e87
treee45b3c845994a9c3d3c40ee556a44fdc22b22b81
parenta099aed4f4cbb1c9ea2766707caa76d250e3b25a
Don’t produce uninit warning for ->VERSION(9e99)

This is a follow-up to commit 78e230aef16b.

It was using a temporary undef scalar and concatenating to it instead
of setting it, triggering the warning.

I haven’t added tests, out of paranoia.
util.c