This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In S_set_caret_X(), use GvSV() consistently in all conditional code.
authorNicholas Clark <nick@ccl4.org>
Tue, 13 Sep 2011 19:07:06 +0000 (21:07 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 13 Sep 2011 19:07:06 +0000 (21:07 +0200)
commit0f1723e1474927cd055b272619999a83bd882260
tree972c00827a8e61fc1a2f24966d8a7f5cfad43817
parent2ee13fe9febdc1ee6f755724a7eaf0c7728da957
In S_set_caret_X(), use GvSV() consistently in all conditional code.

Commit c69033f2a6291605 was inconsistent, in that it changed two instances
of GvSV() to GvSVn(), but not the third. The expansion of GvSV() is simpler,
and is appropriate here. Hoist the call to GvSV() out of the conditional
code.
perl.c