This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Pull out the duplicateded push @INC, $_ if -e $_ code from
authorNicholas Clark <nick@ccl4.org>
Fri, 3 Dec 2004 15:50:15 +0000 (15:50 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 3 Dec 2004 15:50:15 +0000 (15:50 +0000)
commitad17a1aecbe385e7499216434d1d2ef3ec21daba
tree5c9d7991fdc95e06ce40176e31f968fd348038f3
parent8c5417741eeb9456a8816f6b401c997e67dbd356
Pull out the duplicateded push @INC, $_ if -e $_ code from
S_pushinc into a new function S_pushinc_if_exists
Avoid the SV copy when pushing onto @INC by creating a new scratch
SV each time a push is done.

p4raw-id: //depot/perl@23602
perl.c