Here is oneliner
perl -pi.orig -e "s!^(\s+)perl (\$OPT.*)$!$1\$Config{perlpath} $2!" win32/bin/pl2bat.pl
Re^3: Strawberry Perl 5.12.3, CPAN, make file problems (dmake.exe), DFSEP and backslash "\"
In reply to Re^2: exec not working? (Fix_pl2bat)
by Anonymous Monk
in thread exec not working?
by UVB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |