The PerlHP thread (18)

1 Name: !WAHa.06x36 05/01/24(Mon)00:39 ID:MSsAAfBN

This is the glorious thread for discussing the revolutionary PerlHP!

Version 3.01 Gold was just released, together with the fantastic new homepage, which itself runs on PerlHP! This will likely be the final release for a while, as the language has now reached a suitable level of stability and maturity.

http://wakaba.c3.cx/perlhp/ - The fabulous homepage
http://wakaba.c3.cx/sup/kareha.pl/1106443916/ - Thread on the support board

You may now shower me with praise for this monumental achievement.

2 Name: hotaru!hoTarufiRE!!Cizp3pu2 05/01/24(Mon)07:28 ID:YIcW+tm+

#!/usr/bin/perl
use PerlHP;
<%
my $charset="utf-8";
my $type="text/html";

if($ENV{HTTP_ACCEPT}=~/application\/xhtml\+xml/)
{
$type="application/xhtml+xml";
}

header("Content-type: ".$type."; charset=".$charset);
%>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
...

3 Name: !WAHa.06x36 05/01/24(Mon)13:08 ID:MSsAAfBN

Hmm, that's a useful little hack.

I should possibly put that into Kareha too, for the the thread views.

4 Name: !WAHa.06x36 05/01/26(Wed)00:26 ID:GEPSf5u0

PerlHP v5.0 Released!

Now with support for Perl 5.6 through some cryptic and mysterious dark arts (http://wakaba.c3.cx/perlhp/PerlHP.html#perl_5.6.*), so if you've been holding off getting in on the NEXT BIG THING, now is the time to try it out!

6 Name: Albright!LC/IWhc3yc 05/01/27(Thu)11:06 ID:+pfT5orO

http://perl.apache.org/embperl/

Looks like it's an Apache module, though... Those who have shared hosting accounts won't be able to use it.

7 Name: !WAHa.06x36 05/01/27(Thu)14:36 ID:cSY/PbqU

Too complex and ugly by FAR! And I'll bet the code is larger than 4k!

8 Name: #!usr/bin/anon 2005-04-21 05:44 ID:kQsmyZia

why this blog not use PHP?

9 Name: !WAHa.06x36 2005-04-21 12:21 ID:Heaven

>>8

The what now?

10 Name: Mr VacBob!JqK7T7zan. 2005-04-21 16:24 ID:zTPJB7+R

You should rewrite this in Lisp because Lisp is the best language and everything that isn't in Lisp sucks and Lisp Lisp Lisp Lisp

11 Name: Christy McJesus!DcbLlAZi7U 2005-04-21 19:16 ID:WtrPDUsw

>>10

Signed.

12 Name: #!usr/bin/anon 2005-04-22 03:37 ID:Heaven

What? No Ruby?

13 Name: !WAHa.06x36 2005-04-22 13:28 ID:aYnHtlHK

>>11

Uh-oh, LISP fag!

Me, I've been thinking lately that it'd be sort of nice to have a CGI version of Javascript.

14 Name: dmpk2k!hinhT6kz2E 2005-04-23 00:40 ID:Ukli4L4A

I think there is. It's just that no shared hosting offers it...

15 Name: #!usr/bin/anon 2005-04-24 04:12 ID:Heaven

>>13
Uhoッ Nice Lisp fag.

16 Name: #!usr/bin/anon 2005-06-26 00:37 ID:gvTGjYrG

>>6

In the rivals department there's also HTML::Mason. I've used it via CGI on dreamhost (which doesn't even have mod_perl) so it's pretty lightweight.

17 Name: 2005-06-27 01:51 ID:Heaven

>>12

There is a couple of hosts that do Ruby on Rails... but it's not exactly a huge selling point, since not a lot of people actually use Ruby.

18 Name: The Dorkness 2005-06-27 07:45 ID:EplZdRDU

I really wish that hosts allowed one to install interpreters via shell account, just to their home directory. This would normally be damn slow, but also allowing user FastCGI servlets would speed it up nicely.

This thread has been closed. You cannot post in this thread any longer.