Perl5-Alien / Alien-Base

Base classes for Alien:: modules (deprecated, see Alien-Build)
Other
35 stars 19 forks source link

Add Alien::Builder compatability #158

Closed plicease closed 8 years ago

plicease commented 8 years ago

Alien::Base::ModuleBuild uses ConfigData.pm which is MB specific. Alien::Builder stores the same data in a json file alien_builder.json. Included is a test to ensure compatibility with both.

There are some advantages of storing data in a non Perl serializable structure such as JSON:

The disadvantage is adding a dependency on JSON::PP. Since this module has bee in the Perl core as of 5.14, and because these changes will eventually allow us to remove Module::Base as a prereq (which is out of core as of 5.22) I think it is worth it.

plicease commented 8 years ago

See also #157

mohawk2 commented 8 years ago

Aye.