Skip to content

Commit

Permalink
set a better $^X than just perl - should we?
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Apr 30, 2012
1 parent b454580 commit 503855c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/B/C.pm
Expand Up @@ -5142,11 +5142,7 @@ EOT
print <<"EOT"; print <<"EOT";
if ((tmpgv = gv_fetchpv("\030", TRUE, SVt_PV))) {/* $^X */ if ((tmpgv = gv_fetchpv("\030", TRUE, SVt_PV))) {/* $^X */
tmpsv = GvSVn(tmpgv); tmpsv = GvSVn(tmpgv);
#ifdef WIN32 sv_setpv(tmpsv,"$^X");
sv_setpv(tmpsv,"perl.exe");
#else
sv_setpv(tmpsv,"perl");
#endif
SvSETMAGIC(tmpsv); SvSETMAGIC(tmpsv);
} }
Expand Down

0 comments on commit 503855c

Please sign in to comment.