[svn:mod_parrot] r575 - in mod_parrot/trunk: . eg/perl6 eg/pir

[email protected] Fri, 2 Jan 2009 09:16:32 -0800 (PST)
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Fri Jan  2 09:16:32 2009
New Revision: 575

Modified:
   mod_parrot/trunk/CHANGES
   mod_parrot/trunk/README
   mod_parrot/trunk/eg/perl6/README
   mod_parrot/trunk/eg/pir/interpinfo.pir

Log:
update documentation


Modified: mod_parrot/trunk/CHANGES
==============================================================================
--- mod_parrot/trunk/CHANGES	(original)
+++ mod_parrot/trunk/CHANGES	Fri Jan  2 09:16:32 2009
@@ -28,6 +28,7 @@
          * Refactored PIR compilation rules in Makefile
          * New ModParrotHandle PMC ties Parrot I/O ops to Apache I/O
          * New Apache directives ParrotLibPath and ParrotDynextPath
+         * Removed mod_nqp (PIR HLL module is now the spec)
  
        mod_perl6:
          * Replace PIR mod_perl6 with pure-perl mod_perl6
@@ -37,7 +38,7 @@
          * Perl6Module
          * Perl6Options
            * Enable (currently a no-op)
-           * ParseHandlers (temporarily implemented in ModPerl6::Registry)
+           * ParseHandlers (currently a no-op)
          * Method handlers
          * Custom-named handlers (instead of 'handler')
          * Rakudo no longer needs to be patched

Modified: mod_parrot/trunk/README
==============================================================================
--- mod_parrot/trunk/README	(original)
+++ mod_parrot/trunk/README	Fri Jan  2 09:16:32 2009
@@ -16,7 +16,7 @@
 REQUIREMENTS
 ------------
 * Apache 2.0.x or 2.2.x (2.4 may work but is untested)
-* A recent checkout of Parrot (all tests pass as of r33428)
+* A recent subversion checkout of Parrot (all tests pass as of r34644)
 * Perl 5.8.0 or later for configuration
 * Apache::Test 1.26 or later (for tests)
 

Modified: mod_parrot/trunk/eg/perl6/README
==============================================================================
--- mod_parrot/trunk/eg/perl6/README	(original)
+++ mod_parrot/trunk/eg/perl6/README	Fri Jan  2 09:16:32 2009
@@ -2,12 +2,12 @@
 
 How to use mod_perl6:
 
-1) Apply the modperl6 patch in the patches directory to the parrot source tree.
-2) Rebuild perl6.
+1) In the top level directory, type "make modperl6" to precompile mod_perl6.
+   This is not required, but it does provide a 10x improvement in startup time.
 3) In the Apache's envvars script:
    a) set PERL6LIB to the absolute path to languages/perl6/lib, or add it to
       the path (colon-separated) if PERL6LIB is already set.
    b) Add any local Perl 6 include paths where your handler modules will live.
-   c) Add set PARROT_RUNTIME to your parrot source directory.
+   c) Set PARROT_RUNTIME to your parrot source directory.
 4) Configure your handlers in httpd.conf (the examples contain instructions)
 5) Restart Apache (do a full stop and start if you updated envvars).

Modified: mod_parrot/trunk/eg/pir/interpinfo.pir
==============================================================================
--- mod_parrot/trunk/eg/pir/interpinfo.pir	(original)
+++ mod_parrot/trunk/eg/pir/interpinfo.pir	Fri Jan  2 09:16:32 2009
@@ -5,6 +5,15 @@
 #
 # Usage:
 #
+# In /path/to/apache/bin/envvars, add:
+#
+# PARROT_RUNTIME=/path/to/parrot
+# export PARROT_RUNTIME
+#
+# Stop and start apache (don't use restart).
+#
+# In httpd.conf:
+#
 # ParrotLoad /path/to/this/file
 # <Location /parrot-status>
 #     SetHandler parrot-code