X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperltodo.pod;h=880fb16fcec1950dc322f716a43a46c96faa257c;hb=5fba0dddeee4e48144ce1f17a6e372ca4c980087;hp=73495cbbb7451705f84f35c2b2240a87cf23dfa1;hpb=56d86adf5b9b1c05ea2f24c084864c043d30d101;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perltodo.pod b/pod/perltodo.pod index 73495cb..880fb16 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -26,6 +26,10 @@ programming languages offer you 1 line of immortality? =head1 Tasks that only need Perl knowledge +=head2 Remove macperl references from tests + +MacPerl is gone. The tests don't need to be there. + =head2 Remove duplication of test setup. Schwern notes, that there's duplication of code - lots and lots of tests have @@ -377,6 +381,15 @@ see if there would be a way to use our existing metaconfig units to configure a Windows Perl or whether we go in a separate direction and make it so. Of course, we all know what step 3 is. +=head2 decouple -g and -DDEBUGGING + +Currently F automatically adds C<-DDEBUGGING> to the C compiler +flags if it spots C<-g> in the optimiser flags. The pre-processor directive +C enables F's command line <-D> options, but in the process +makes F slower. It would be good to disentangle this logic, so that +C-level debugging with C<-g> and Perl level debugging with C<-D> can easily +be enabled independently. + =head1 Tasks that need a little C knowledge These tasks would need a little C knowledge, but don't need any specific @@ -795,6 +808,18 @@ also the warning messages (see L, C). These tasks would need C knowledge, and knowledge of how the interpreter works, or a willingness to learn. +=head2 truncate() prototype + +The prototype of truncate() is currently C<$$>. It should probably +be C<*$> instead. (This is changed in F) + +=head2 decapsulation of smart match argument + +Currently C<$foo ~~ $object> will die with the message "Smart matching a +non-overloaded object breaks encapsulation". It would be nice to allow +to bypass this by using explictly the syntax C<$foo ~~ %$object> or +C<$foo ~~ @$object>. + =head2 error reporting of [$a ; $b] Using C<;> inside brackets is a syntax error, and we don't propose to change @@ -873,6 +898,15 @@ L There is no method on tied filehandles to allow them to be called back by formats. +=head2 Propagate compilation hints to the debugger + +Currently a debugger started with -dE on the command-line doesn't see the +features enabled by -E. More generally hints (C<$^H> and C<%^H>) aren't +propagated to the debugger. Probably it would be a good thing to propagate +hints from the innermost non-C scope: this would make code eval'ed +in the debugger see the features (and strictures, etc.) currently in +scope. + =head2 Attach/detach debugger from running program The old perltodo notes "With C, you can attach the debugger to a running @@ -1128,3 +1162,24 @@ This will allow the use of a regex from inside (?{ }), (??{ }) and Apparently these are quite useful. Anyway, Jeffery Friedl wants them. demerphq has this on his todo list, but right at the bottom. + + +=head1 Tasks for microperl + + +[ Each and every one of these may be obsolete, but they were listed + in the old Todo.micro file] + + +=head2 make creating uconfig.sh automatic + +=head2 make creating Makefile.micro automatic + +=head2 do away with fork/exec/wait? + +(system, popen should be enough?) + +=head2 some of the uconfig.sh really needs to be probed (using cc) in buildtime: + +(uConfigure? :-) native datatype widths and endianness come to mind +