in reply to Re^4: New PerlMonks for Perl 6 - A Good Idea
in thread New PerlMonks for Perl 6 - A Good Idea

All of them, actually.

No Perl 5 framework I know of uses any Perl 5 features that are clumsy in Perl 6.

For example the Catalyst approach of using subroutine attributes for dispatching can be replaced with subroutine traits, so for example you could write (mimicking an example from Catalyst::Manual::Tutorial::03_MoreCatalystBasics):

method list($c) is Local { $c.stash(books => $c.model('DB::Book).all); $c.stash(template => 'books/list.tt2'); }

In fact subroutine traits work in Rakudo today, so the only thing that prevents people from porting Catalyst to Perl 6 is speed and development time.

I don't think other web frameworks heavily rely on intricate Perl 5 features that aren't yet in Rakudo, so there are many other possible targets for porting too.

Update: As a proof of concept I've started porting CGI::Application to Perl 6. Of course it's far from being finished, but I got basic dispatch, hooks and error mode running in with half a day's effort (and many distractions inbetween).

Replies are listed 'Best First'.
Re^6: New PerlMonks for Perl 6 - A Good Idea
by Argel (Prior) on Jun 28, 2010 at 19:36 UTC
    Impressive!! And it sounds like whoever starts working on PM6 can use e.g. Catalyst and then move things over to Perl 6 in the future. All of this sounds very promising!!

    Elda Taluta; Sarks Sark; Ark Arks