Today's work on porting CGI::Application to Perl 6 was hacking on CGI.pm for Perl 6, which we depend on. (You can of course choose any sufficiently compatible alternative). While several people have thankfully worked on it in the past, no else is maintaining at the moment for Perl 6, and it remains incomplete.
Today I noticed that while it had escapeHTML and unescapeHTML methods, they were both untested and broken. They were fairly easy to fix, and I learned more about Perl 6 regular expressions in the process. I added this related entry to Differences.pod:
Was: $str =~ s/(a)/$1/e;
Now: $str ~~ s:P5/(a)/{$0}/;
A substitition had been ported from CGI.pm-p5, but was now failing because $1
needed to be replaced with $0
. Take note!
Next, I noticed that charset support was incomplete, and cookie handling is not yet implemented. You can see how this is turning into a detour...
The CGI.pm porting is fairly easy if anyone wants to dive in and lend a hand.
How would I lend a hand specifically on CGI.pm?
Posted by: Humberto Massa | 2006.09.08 at 09:32 PM
Humberto: Come to #perl6 and chat. :-) Concretely, porting more tests from the Perl5 CGI.pm and make them pass would be very helpful.
Posted by: Audrey Tang | 2006.09.09 at 12:30 PM