From: Nicholas Clark Date: Wed, 29 Jun 2005 21:24:53 +0000 (+0000) Subject: Expand on parts of perltodo X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=adebf063a6864629503e4bb09e346b3b421b98ac;p=p5sagit%2Fp5-mst-13.2.git Expand on parts of perltodo p4raw-id: //depot/perl@25013 --- diff --git a/pod/perltodo.pod b/pod/perltodo.pod index 771bd89..5571970 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -122,7 +122,11 @@ its performance to be measured, and its bugs to be easily demonstrated. =head2 POD -> HTML conversion still sucks Which is crazy given just how simple POD purports to be, and how simple HTML -can be. +can be. It's not actually I simple as it sounds, particularly with the +flexibility POD allows for C<=item>, but it would be good to improve the +visual appeal of the HTML generated, and to avoid it having any validation +errors. See also L, as the layout of installation tree +is needed to improve the cross-linking. =head1 Misc medium sized projects @@ -206,10 +210,25 @@ alarm/sleep or timers. =head2 compressed man pages -Be able to install them +Be able to install them. This would probably need a configure test to see how +the system does compressed man pages (same directory/different directory? +same filename/different filename), as well as tweaking the F script +to compress as necessary. =head2 Make Config.pm cope with differences between build and installed perl +Quite often vendors ship a perl binary compiled with their (pay-for) +compilers. People install a free compiler, such as gcc. To work out how to +build extensions, Perl interrogates C<%Config>, so in this situation +C<%Config> describes compilers that aren't there, and extension building +fails. This forces people into chosing between re-compiling perl themselves +using the compiler they have, or only using modules that the vendor ships. + +It would be good to find a way teach C about the installation setup, +possibly involving probing at install time or later, so that the C<%Config> in +a binary distruction better describes the installed machine, when the installed +machine differs from the build machine in some significant way. + =head2 Relocatable perl Make it possible to create a relocatable perl binary. Will need some collusion @@ -217,7 +236,36 @@ with Config.pm. We could use a syntax of ... for location of current binary? =head2 make HTML install work -And look at the splitting of perlfunc in chunks. It needs fixing. +There is an C target in the Makefile. It's marked as +"experimental". It would be good to get this tested, make it work reliably, and +remove the "experimental" tag. This would include + +=over 4 + +=item 1 + +Checking that cross linking between various parts of the documentation works. +In particular that links work between the modules (files with POD in F) +and the core documentation (files in F) + +=item 2 + +Work out how to split perlfunc into chunks, preferably one per function group, +preferably with general case code that could be used elsewhere. Challenges +here are correctly identifying the groups of functions that go together, and +making the right named external cross-links point to the right page. Things to +be aware of are C<-X>, groups such as C to C, two or +more C<=items> giving the different parameter lists, such as + + =item substr EXPR,OFFSET,LENGTH,REPLACEMENT + + =item substr EXPR,OFFSET,LENGTH + + =item substr EXPR,OFFSET + +and different parameter lists having different meanings. (eg C