Excuse my ignorance, but how far out is Perl6.  I was under the
impression that it was atleast 1.5 - 2 years away.  If not I guess I
better get start reading up on my new Perl (because if I remember
correctly a long time ago when reading the exegises that its like an
entirely new beast).

On 7/5/06, Mark Stosberg <[EMAIL PROTECTED]> wrote:

I've started on porting CGI::Application to Perl6.

The current state is that I've made a number of code adjustments, but
the module still doesn't compile.  I haven't started converting any of
the tests.

I don't think the replacement for Class::ISA is even implemented yet, so
the line that includes "$app_class.meta.class_precedence_list".... will
current fail.

I'm sharing the code here in case anyone else wants to hack on it. It's
a darcs archive:

darcs get http://mark.stosberg.com/darcs_hive/CGI-Application-p6/
# hack
darcs record
darcs send

I consider this a "blue sky" project where we should feel free to make
API improvements in non-backwards compatible ways.

For example, I think it's worth considering moving load_tmpl() to a
plugin, and considering whether to keep both header_add() and
header_props().  ( header_props() could accidentally clobber headers set
a plugin... header_add() is almost always a better choice. ).

Also, some might like a complete decoupling with CGI.pm.

Even the name could be changed. :) ( It seems the DateTime module will
be just "Date" in Perl6 ).

For that matter, there's no reason that I need to be an official
maintainer of this new project. Anyone else is welcome to publish
another repository of a CGI::App that is equally as authoritative as my
work.

For the moment, I'm mostly interested in this project as an excuse to
learn more about Perl6.

    Mark


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to