develooper Front page | perl.perl6.language | Postings from April 2005

(pugs) Managing pleac

Thread Next
From:
Ovid
Date:
April 9, 2005 20:00
Subject:
(pugs) Managing pleac
Message ID:
20050410030004.16112.qmail@web60805.mail.yahoo.com
http://groups-beta.google.com/group/perl.perl6.language/browse_frm/thread/b29d689814d0a50e/bd6ed3ba5ee17ffb#bd6ed3ba5ee17ffb

Following up on Tim Bunce's April 1st suggestion that we implement
PLEAC (http://pleac.sourceforge.net/), I've gotten a few things started
in examples/pleac, but I think it's time to step back and think
seriously about how to organize this stuff.

pleac will essentially be a Perl6 Cookbook modeled after the second
edition Perl Cookbook.  I've laid out a directory and filename
structure/format that will make it very easy to look things up and I've
added a few sample programs, but I realize that there are a few issues
with my approach.

1.  I stop coding a particular bit when I hit a bug in Pugs.
2.  Perl6 is more expressive than Perl5 and I rather think the Perl5
recipes are limiting.

Here's what I'm asking:

1.  Should we just write out full examples, even if Pugs won't compile
'em?  Seems more sensible to me.
2.  POD docs?  Does it matter?
3.  Add recipes that more accurately reflect Perl6's strengths?  That
goes beyond pleac, but I'd much rather see this as a resource that Perl
programmers can really rely on.
4.  Are the filenames portable?
(examples/pleac/05hashes/05-05traversing.p6)

Regarding question 1:  if we only add code as Pugs can handle it, we
always have working code examples.  However, how do we know which code
we should update?  If we write up full examples, there's less
maintenance, but we're also less likely to spot syntax errors since a
lot of code won't even compile.

And please, if you have commit access, feel free to correct my code and
add more.  I don't want to do this by my

Cheers,
Ovid

-- 
If this message is a response to a question on a mailing list, please send
follow up questions to the list.

Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

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