develooper Front page | perl.perl5.porters | Postings from June 2015

Re: Batch file generation for installed scripts on Windows

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
June 2, 2015 15:41
Subject:
Re: Batch file generation for installed scripts on Windows
Message ID:
CAHhgV8giTBADSCULP3UaVJ6rUV72WUaf_vp_yLGMFTfGhcjkdw@mail.gmail.com
On Tue, Jun 2, 2015 at 2:17 PM, A. Sinan Unur <sinan@unur.com> wrote:

> As far as I can tell, all this requires is to use $^X instead of perl
> in win32\bin\pl2bat.bat.
>
> Are there any pitfalls I am not seeing?
>

Actually, there is one pitfall: relocatable perls (such as Strawberry
Portable). In that case it probably should use PATH instead of a hard-coded
value.

Leon

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About