Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of markjugg (792)

Wednesday August 09, 2006
11:29 PM

Porting CGI::Application to Perl6 continues.

[ #30582 ]

I continue working on porting CGI::Application to Perl6. My current work is in this darcs archive.

I was excited about the arrival of "v6", allowing me to write use Perl5 to compile and execute Perl6. While the project remains interesting, it is noticeably slow, and still apparently can't handle a fairly generic hash definition.

So I broke down and compiled GHC and then pugs on a machine. It took a while, but mostly ran unattended and without error.

It's noticeably faster and further along than v6, and allowed me to make a good deal of progress.

There is still a good deal more to do, though-- CGI::Application doesn't compile yet!

My reward is that for each new error that comes up, I learn something new about Perl6 syntax in able to fix it.

My favorite difference from Perl5 so far is definitely being able to get rid of "my $self = shift;" everywhere.

The trend with Perl6 definitely seems to be clearer, simpler, less cluttered syntax styles.

Do check out the code and squash some of the compile-time bugs if you want.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I used to read flames against Python for having "self" everywhere and then I started with CA and had to do "my $self = shift;" everywhere. I chuckled. I will be glad to get rid of it but it never detracted from CA for me.