Porting CGI::Application to Perl6 continues.

markjugg on 2006-08-10T04:29:29

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.


I remember when...

sigzero on 2006-08-10T14:28:42

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.