i'm happy to report that mod_parrot now comes bundled with mod_pugs! mod_pugs uses pugs (http://pugscode.org) to let you write apache handlers in perl6, and runs as an HLL layer on top of mod_parrot. pugs' parrot backend compiler is still very immature, so you still can't do many of the things you can do in pugs proper. but you can still see how far we've come:
module My::PugsHandler; sub _handler($r) { $r.puts("<H1>This is a Pugs handler!</H1>"); return 0; } put that in pugs' @INC path, and the following apache config will configure the handler for the location /pugs/test on your server: <Location /pugs/test> SetHandler parrot-code ParrotLanguage pugs ParrotHandler My::PugsHandler </Location> next on the todo list is to implement more handlers, more methods (so far only puts and content_type are supported) and rewrite some parts of mod_pugs in pugs itself. if you want to try it out, check out the latest revisions of both mod_parrot and pugs from subversion (released versions will NOT WORK). the eg directory contains a working example and configuration. http://svn.perl.org/parrot-modules/mod_parrot http://svn.openfoundry.org/pugs -jeff