[Module-build-general] [PATCH] Getting Module::Build working on VMS
Status: Beta
Brought to you by:
kwilliams
|
From: Michael G S. <sc...@po...> - 2003-03-30 21:12:30
|
The attached patch gets Module::Build working on VMS. Its dead simple and
resolves three issues:
- You can't safely put switches after $Config{startperl}
- The comfortable VMS equivalent to ./Build is @Build which means Build.PL
should generate Build.com
- VMS likes to drop cases unless specially quoted. "@Build test" will
pass "TEST" rather than "test". So we make argv->action translation
case-insensitive as opposed to requiring special command line quoting.
And that's it. All tests pass. One fix, two overrides. After a hard week
of fighting with MakeMaker its always a pleasure to glide through
Module::Build.
I encourage vmsperl module authors to RUN, do not walk, to their editors
and convert their modules from MakeMaker to Module::Build.
--
And if you don't know Which To Do
Of all the things in front of you,
Then what you'll have when you are through
Is just a mess without a clue.
Of all the best that can come true
If you know What and Which and Who.
|