@@ -204,20 +204,24 @@ Perl public API.
204204
205205=item Version numbers
206206
207- Version checking can be tricky to get correct (besides being buggy in some perl
208- versions).
209- C<ivers()> is used in the C<=tests> section to overcome this, and constructs
207+ Version checking used to be tricky to get correct (besides being buggy in some
208+ perl versions).
209+ C<ivers()> is used in the C<=tests> section to overcome this. and constructs
210210like the following in the C language sections.
211211
212- #if { VERSION < 5.9.3 }
212+ #if PERL_VERSION_EQ(5,9,3)
213+ #if PERL_VERSION_NE(5,9,3)
214+ #if PERL_VERSION_LT(5,9,3)
215+ #if PERL_VERSION_GT(5,9,3)
216+ #if PERL_VERSION_LE(5,9,3)
217+ #if PERL_VERSION_GE(5,9,3)
213218
214- instead of
219+ An alternative way of saying things like these is
215220
216- #if ((PERL_VERSION < 9) \
217- || (PERL_VERSION == 9 && PERL_SUBVERSION < 3))
221+ #if { VERSION < 5.9.3 }
218222
219- The version number can be either of the new form C<5.x.x> or the older
220- form C<5.00x_yy>. Both are translated into the correct preprocessor
223+ In this form, the version number can be either of the new form C<5.x.x> or the
224+ older form C<5.00x_yy>. Both are translated into the correct preprocessor
221225statements. It is also possible to combine this with other statements:
222226
223227 #if { VERSION >= 5.004 } && !defined(sv_vcatpvf)
@@ -399,7 +403,7 @@ collect the remaining information in F<parts/apidoc.fnc>.
399403=item *
400404
401405The final step before regenerating everything is to run
402- F</ devel/mkppport_fnc.pl> to update the F</parts/ppport.fnc> file.
406+ F<devel/mkppport_fnc.pl> to update the F</parts/ppport.fnc> file.
403407
404408=back
405409
0 commit comments