From: Unknown Contributor Date: Sat, 10 May 1997 23:46:00 +0000 (+0200) Subject: Tweaks for perldelta X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3e10809228cc961223b894e1639b44f8e2b64de0;p=p5sagit%2Fp5-mst-13.2.git Tweaks for perldelta Here are a few more doc fixes. The last one merely reformats a paragraph, so that a C<...> construct is no longer spread across a line boudary. The perlpod page suggests this is allowed, but does not actually say so. However, pod2html can't handle it and all other instaces have been fixed recently (which would suggest that it' not allowed). p5p-msgid: 199705102346.BAA17300@mail.euronet.nl --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 9574872..624b61b 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -36,7 +36,7 @@ variable as if its contents had appeared on a "#!perl" line at the beginning of your script, except that hyphens are optional. PERL5OPT may only be used to set the following switches: B<-[DIMUdmw]>. -=head2 Limitations on B<-M>, and C<-m>, and B<-T> options +=head2 Limitations on B<-M>, and B<-m>, and B<-T> options The C<-M> and C<-m> options are no longer allowed on the C<#!> line of a script. If a script needs a module, it should invoke it with the @@ -72,7 +72,7 @@ your scripts. Before Perl 5.004, C functions were looked up as methods (using the C<@ISA> hierarchy), even when the function to be autoloaded was called as a plain function (e.g. C), not a method -(e.g. Cbar()> or C<$obj->bar()>). +(e.g. Cbar()> or C<$obj-Ebar()>). Perl 5.005 will use method lookup only for methods' Cs. However, there is a significant base of existing code that may be using @@ -183,7 +183,7 @@ IO::Handle, IO::Seekable, and IO::File. We suggest, but do not require, that you use the IO::* modules in new code. In harmony with this change, C<*GLOB{FILEHANDLE}> is now a -backward-compatible synonym for C<*STDOUT{IO}>. +backward-compatible synonym for C<*GLOB{IO}>. =head2 Internal change: PerlIO abstraction interface diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod index bcf0399..1bf3a96 100644 --- a/pod/perlfaq4.pod +++ b/pod/perlfaq4.pod @@ -325,9 +325,9 @@ To make the first letter of each word upper case: $line =~ s/\b(\w)/\U$1/g; -This has the strange effect of turning "C" into "C". Sometimes you might want this, instead (Suggested by Brian -Foy Ecomdog@computerdog.comE): +This has the strange effect of turning "C" into +"C". Sometimes you might want this, instead +(Suggested by Brian Foy Ecomdog@computerdog.comE): $string =~ s/ ( (^\w) #at the beginning of the line