On Thu, 2003-05-29 at 13:56, Autrijus Tang wrote:
> Greetings.
> 
> During preperationg for the TPC slides, I discovered that Apache::PAR
> uses "scripts/", not "script/", as the default location for scripts.
> The latter is used by PAR (and ExtUtils::MakeMaker), and I believe it's
> a simple oversight.
> 
> The patch below against 0.14 should fix that.  In addition, two
> .par files inside the t/ directory needs to be changed; I have
> attached them, too.
> 

Thanks for the patch Autrijus.  I have included this in Apache::PAR
0.20.  I can't seem to get on PAUSE right now, but as soon as I can I
will upload this (if you don't want to wait, it is available currently
at http://sf.net/projects/apache-par/)

** NOTE: This is a non-backward compatible defaults change - anyone
upgrading to Apache::PAR 0.20 should read the release notes and
documentation for instructions on upgrading **

In addition to your patch, Apache::PAR 0.20 also has been changed to use
Apache::Test for testing, which should increase the number of platforms
on which tests succeed - supports mod_perl 1.x and 2.x, as well as
Win32.  I haven't been able to test it yet on Win32, but since the tests
failed there before anyway...  Anyone with access to various build
platforms please let me know about your successes or failures with this
new testing system.

Also, I didn't send out a release for 0.14.  With 0.14 or greater,
Apache::PAR now supports using Cache::Cache for static content, which
dramatically improves performance with Apache::PAR::Static.  See the
perldoc for Apache::PAR::Static for more information.

> Also, a good news: In the imminent PAR 0.69, I have added
> Apache::PAR compatibility code into 'pp'.  Using the stock
> "web.conf" in Apache::PAR::Registry's POD, I can now do this:
> 
>     % pp -p -o hondah.par -e 'print "Hon Dah!\n"' --add web.conf
>     % chmod a+x hondah.par
>     % cat >> /usr/local/etc/apache/httpd.conf
>     <IfDefine MODPERL2>
>     PerlModule Apache2
>     </IfDefine>
>     PerlAddVar PARInclude /home/autrijus/hondah.par
>     PerlModule Apache::PAR
>     ^D
>     % sudo apachectl restart
>     % GET http://localhost/myapp/cgi-perl/main.pl
>     Hon Dah!
> 
> It's an instant one-liner web application that works!
> 

This is great news!  In particular, I loved your example for Slashcode. 
I could see this as being a good delivery mechanism for those types of
web applications.

With these kind of features, I'm very surprised at a low response rate
for the conference.  Must be all the tightened training budgets (I know 
that's it for me anyway :-)

> Much kudos for all your work in Apache::PAR. :-)
> 

Thank you!  Apache::PAR is just a little subproject for your great
efforts with PAR.pm though.  Thank you for all your hard work.

Thanks,

Nathan

-- 
Nathan Byrd <[EMAIL PROTECTED]>

Reply via email to