develooper Front page | perl.perl5.porters | Postings from July 2016

The great pl2bat unification

Thread Next
From:
Leon Timmermans
Date:
July 28, 2016 09:19
Subject:
The great pl2bat unification
Message ID:
CAHhgV8iE4G6nq7FEg29jAq=nySuLbLMmOzOYuJEir6FKDzBCWw@mail.gmail.com
One upon a time, some 20 years ago, people wrote a Perl script to write
Batch scripts that run Perl scripts, and they called in pl2bat. It received
only superficial maintenance since c9c878ae, which referred to Windows 98
as an unknown future.

Then a few years later Module::Build happened. After running into quoting
issues they decided to embed the code instead of shelling out, thus a fork
was born. It is almost identical to core's pl2bat minus the argument
handling.

Another decade later, Module::Build::Tiny was born. As it couldn't depend
on Module::Build (for obvious reasons), I forked Module::Build's
implementation (into ExtUtils::Helpers, but that's besides the point).
Unlike the previous fork, it actually received some tests and maintenance
(fixing a long standing issue in return value of the batch file);
maintenance that is now currently not shared with the other implementations.

So now we have three implementations of the same thing, this is clearly
suboptimal. So I created a new distribution called ExtUtils::PL2Bat that I
intend to make the back-end of all three of them. I'm planning to convert
all three users in reverse order (first MBT, then MB, and then pl2bat). The
last step would obviously mean it would become included in the core
distribution.

Does this sound like a plan? Any feedback/objections?

Leon

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