Re: Announcing Form

2009-03-16 Thread Guy Hulbert
On Mon, 2009-16-03 at 14:00 +, Matthew Walton wrote:
> > What about starting from Build.PL rather than Makefile.PL (even if
> it
> > starts as a make-wrapper) ?
> 
> It might make more sense. I think the question of best practice for Perl 6
> libraries is still being determined. At the moment the intention is just to

Best practice for Perl 5 is TMTOWTDI, which is fairly frustrating.

I see:
Module::Build
Module::Install
ExtUtils::MakeMaker

Module::Install is really clever but no-one seems to be using it.  So I
chose Build.PL.

Module::Build can be induced to auto-create a Makefile.PL (although I've
managed to break that ;-), which Debian perl-policy seems to require.

So IMNAAHO*, Build.PL is the way to go.

* NAA = not at all

> make sure it can be used either directly or using proto, so it's got the
> kind of build system that proto expects. I guess this kind of thing is one
> of the things that'll come out of talking about how CPAN6 will work. 

Doing is a good way to make a statement and git gives you all the
flexibility you should need.

-- 
--gh




Re: Announcing Form

2009-03-16 Thread Matthew Walton

On Mon, 16 Mar 2009 09:51:10 -0400, Guy Hulbert  wrote:
> On Mon, 2009-16-03 at 14:34 +0100, Carl Mäsak wrote:
>> Form is still in its early stages, but is already showing great
>> promise. Consider downloading it and trying it out, or even
>> contributing. 
> 
> Very cool.  This gives me a reason to play with Rakudo.
> 
> What about starting from Build.PL rather than Makefile.PL (even if it
> starts as a make-wrapper) ?

It might make more sense. I think the question of best practice for Perl 6
libraries is still being determined. At the moment the intention is just to
make sure it can be used either directly or using proto, so it's got the
kind of build system that proto expects. I guess this kind of thing is one
of the things that'll come out of talking about how CPAN6 will work.



Re: Announcing Form

2009-03-16 Thread Guy Hulbert
On Mon, 2009-16-03 at 14:34 +0100, Carl Mäsak wrote:
> Form is still in its early stages, but is already showing great
> promise. Consider downloading it and trying it out, or even
> contributing. 

Very cool.  This gives me a reason to play with Rakudo.

What about starting from Build.PL rather than Makefile.PL (even if it
starts as a make-wrapper) ?

-- 
--gh




Announcing Form

2009-03-16 Thread Carl Mäsak
I'd like to take this opportunity to announce Form[1], a Perl 6
project by Matthew Walton. It's a port to Perl 6 of Damian Conway's
Perl6::Form[2], and is meant to replace the C built-in in Perl
5.[3][4]

Form is still in its early stages, but is already showing great
promise. Consider downloading it and trying it out, or even
contributing.

[1] http://github.com/mattw/form/
[2] http://search.cpan.org/dist/Perl6-Form/Form.pm
[3] http://perldoc.perl.org/functions/format.html
[4] http://perldoc.perl.org/perlform.html