X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperltodo.pod;h=30f17b04cbc8ad30d90482654ac035b0deed2e84;hb=00ca1d0d42208c5980e79d63906648d2926498ec;hp=f270d6b9795dcd06f33482f9d24e1e84863832af;hpb=bfd025d94e67a140ec0eeee79dfcef213d537327;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perltodo.pod b/pod/perltodo.pod index f270d6b..30f17b0 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -4,10 +4,11 @@ perltodo - Perl TO-DO List =head1 DESCRIPTION -This is a list of wishes for Perl. The tasks we think are smaller or easier -are listed first. Anyone is welcome to work on any of these, but it's a good -idea to first contact I to avoid duplication of -effort. By all means contact a pumpking privately first if you prefer. +This is a list of wishes for Perl. The tasks we think are smaller or +easier are listed first. Anyone is welcome to work on any of these, +but it's a good idea to first contact I to +avoid duplication of effort, and to learn from any previous attempts. +By all means contact a pumpking privately first if you prefer. Whilst patches to make the list shorter are most welcome, ideas to add to the list are also encouraged. Check the perl5-porters archives for past @@ -22,6 +23,55 @@ programming languages offer you 1 line of immortality? =head1 Tasks that only need Perl knowledge +=head2 Smartmatch design issues + +In 5.10.0 the smartmatch operator C<~~> isn't working quite "right". But +before we can fix the implementation, we need to define what "right" is. +The first problem is that Robin Houston implemented the Perl 6 smart match +spec as of February 2006, when smart match was axiomatically symmetrical: +L + +Since then the Perl 6 target moved, but the Perl 5 implementation did not. + +So it would be useful for someone to compare the Perl 6 smartmatch table +as of February 2006 L +and the current table L +and tabulate the differences in Perl 6. The annotated view of changes is +L and the diff is +C +-- search for C<=head1 Smart matching>. (In theory F can generate that, +but in practice when I tried it hung forever, I assume "thinking") + +With that done and published, someone (else) can then map any changed Perl 6 +semantics back to Perl 5, based on how the existing semantics map to Perl 5: +L + + +There are also some questions that need answering: + +=over 4 + +=item * + +How do you negate one? (documentation issue) +http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2008-01/msg00071.html + +=item * + +Array behaviors +http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2007-12/msg00799.html + +* Should smart matches be symmetrical? (Perl 6 says no) + +* Other differences between Perl 5 and Perl 6 smart match? + +=item * + +Objects and smart match +http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2007-12/msg00865.html + +=back + =head2 Remove duplication of test setup. Schwern notes, that there's duplication of code - lots and lots of tests have @@ -29,21 +79,6 @@ some variation on the big block of C<$Is_Foo> checks. We can safely put this into a file, change it to build an C<%Is> hash and require it. Maybe just put it into F. Throw in the handy tainting subroutines. -=head2 merge common code in installperl and installman - -There are some common subroutines and a common C block in F -and F. These should probably be merged. It would also be good to -check for duplication in all the utility scripts supplied in the source -tarball. It might be good to move them all to a subdirectory, but this would -require careful checking to find all places that call them, and change those -correctly. - -=head2 common test code for timed bail out - -Write portable self destruct code for tests to stop them burning CPU in -infinite loops. This needs to avoid using alarm, as some of the tests are -testing alarm/sleep or timers. - =head2 POD -E HTML conversion in the core still sucks Which is crazy given just how simple POD purports to be, and how simple HTML @@ -63,42 +98,17 @@ implements a very basic check for pod files, but the errors it discovers aren't found by podchecker. Add this check to podchecker, get rid of checkpods and have C use podchecker. -=head2 perlmodlib.PL rewrite - -Currently perlmodlib.PL needs to be run from a source directory where perl -has been built, or some modules won't be found, and others will be -skipped. Make it run from a clean perl source tree (so it's reproducible). - =head2 Parallel testing (This probably impacts much more than the core: also the Test::Harness and TAP::* modules on CPAN.) -The core regression test suite is getting ever more comprehensive, which has -the side effect that it takes longer to run. This isn't so good. Investigate -whether it would be feasible to give the harness script the B