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.
#!/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">
...
Hmm, that's a useful little hack.
I should possibly put that into Kareha too, for the the thread views.
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!
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.
Too complex and ugly by FAR! And I'll bet the code is larger than 4k!
why this blog not use PHP?
The what now?
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
What? No Ruby?
Uh-oh, LISP fag!
Me, I've been thinking lately that it'd be sort of nice to have a CGI version of Javascript.
I think there is. It's just that no shared hosting offers it...
>>13
Uhoッ Nice Lisp fag.
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.
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.
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.