Following a brief talk on #perl6 ...

It is my intent to start a Perl 6 module under Pugs that is analagous to Pugs::Makemaker, such that the Makefile.PL that comes with each ported Perl 6 module can itself be written in Perl 6, and function correctly.

Initially this module will be a shell that gathers necessary info from the Perl 6 modules and then invokes the Perl 5 Pugs::MakeMaker to do the dirty work of creating the Makefile that 'make' can use.

Later on, the full functionality can be made Perl 6 native, and can optionally be constructed so that 'make' is no longer a prerequisite.

The initial version will support the basics that simple Makefile.PL use; for example, these named arguments to WriteMakefile:

- NAME
- VERSION_FROM and VERSION
- PREREQ_PM

The basics should be enough to tell an automator using a Pure Perl module what the name and version of the current distro is, and the names and versions of the other Perl 6 modules that are its prerequisites.

The initial module version will likely be simple in its construction, including not being object oriented, so the current version of Pugs should be able to run it by itself or with few modifications.

I intend to deliver "something" along these lines tomorrow, prior to the .14 release. The first delivery is not guaranteed to execute, but it should be easy to tell what it is trying to do by looking at it.

-- Darren Duncan

Reply via email to