Change 20813: [PATCH] Re: pod cleanup
[email protected] (Jarkko Hietaniemi)
| Newsgroups | perl.perlfaq.workers,perl.perl5.changes |
|---|---|
| Message-ID | <[email protected]> |
Change 20813 by jhi@kosh on 2003/08/22 04:57:12 Subject: [PATCH] Re: pod cleanup From: Ronald J Kimball <[email protected]> Date: Thu, 21 Aug 2003 17:09:17 -0400 Message-ID: <[email protected]> (the pod part) Affected files ... ... //depot/perl/pod/perl5005delta.pod#20 edit ... //depot/perl/pod/perlfaq4.pod#84 edit ... //depot/perl/pod/perlhack.pod#74 edit ... //depot/perl/pod/perlipc.pod#52 edit ... //depot/perl/pod/perlpacktut.pod#9 edit Differences ... ==== //depot/perl/pod/perl5005delta.pod#20 (text) ==== Index: perl/pod/perl5005delta.pod --- perl/pod/perl5005delta.pod#19~19699~ Fri Jun 6 15:29:38 2003 +++ perl/pod/perl5005delta.pod Thu Aug 21 21:57:12 2003 @@ -492,7 +492,7 @@ If C<$/> is a reference to an integer, or a scalar that holds an integer, <> will read in records instead of lines. For more info, see -L<perlvar/$/>. +L<perlvar/$E<sol>>. =head1 Supported Platforms ==== //depot/perl/pod/perlfaq4.pod#84 (text) ==== Index: perl/pod/perlfaq4.pod --- perl/pod/perlfaq4.pod#83~20330~ Tue Jul 29 14:20:28 2003 +++ perl/pod/perlfaq4.pod Thu Aug 21 21:57:12 2003 @@ -359,7 +359,7 @@ argument localtime uses the current time. $day_of_year = (localtime)[7]; - + The POSIX module can also format a date as the day of the year or week of the year. @@ -369,7 +369,7 @@ To get the day of year for any date, use the Time::Local module to get a time in epoch seconds for the argument to localtime. - + use POSIX qw/strftime/; use Time::Local; my $week_of_year = strftime "%W", @@ -380,7 +380,7 @@ use Date::Calc; my $day_of_year = Day_of_Year( 1987, 12, 18 ); my $week_of_year = Week_of_Year( 1987, 12, 18 ); - + =head2 How do I find the current century or millennium? Use the following simple functions: ==== //depot/perl/pod/perlhack.pod#74 (text) ==== Index: perl/pod/perlhack.pod --- perl/pod/perlhack.pod#73~20755~ Mon Aug 18 01:41:24 2003 +++ perl/pod/perlhack.pod Thu Aug 21 21:57:12 2003 @@ -1329,6 +1329,8 @@ print Perl_sv_2pv_nolen(sv) +=back + You may find it helpful to have a "macro dictionary", which you can produce by saying C<cpp -dM perl.c | sort>. Even then, F<cpp> won't recursively apply those macros for you. @@ -1340,8 +1342,6 @@ included in the debugging information. Using F<gcc> version 3.1, this means configuring with C<-Doptimize=-g3>. Other compilers might use a different switch (if they support debugging macros at all). - -=back =head2 Dumping Perl Data Structures ==== //depot/perl/pod/perlipc.pod#52 (text) ==== Index: perl/pod/perlipc.pod --- perl/pod/perlipc.pod#51~20668~ Tue Aug 12 13:27:41 2003 +++ perl/pod/perlipc.pod Thu Aug 21 21:57:12 2003 @@ -288,7 +288,7 @@ sleep 2; # to avoid dup signals } -=head2 Deferred Signals (Safe signals) +=head2 Deferred Signals (Safe Signals) In Perls before Perl 5.7.3 by installing Perl code to deal with signals, you were exposing yourself to danger from two things. First, ==== //depot/perl/pod/perlpacktut.pod#9 (text) ==== Index: perl/pod/perlpacktut.pod --- perl/pod/perlpacktut.pod#8~19010~ Mon Mar 17 09:16:44 2003 +++ perl/pod/perlpacktut.pod Thu Aug 21 21:57:12 2003 @@ -664,7 +664,7 @@ (Note that the template C<A*> would only have packed C<$str[0]> in full length.) - + To pack dates stored as triplets ( day, month, year ) in an array C<@dates> into a sequence of byte, byte, short integer we can write End of Patch.