perldelta for h2ph conditional sub fix
authorFather Chrysostomos <sprout@cpan.org>
Sat, 17 Sep 2011 18:51:16 +0000 (11:51 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 17 Sep 2011 18:51:16 +0000 (11:51 -0700)
pod/perldelta.pod

index 7b79df8..57c8f86 100644 (file)
@@ -479,13 +479,21 @@ here. Most of these are built within the directories F<utils> and F<x2p>.
 entries for each change
 Use L<XXX> with program names to get proper documentation linking. ]
 
-=head3 L<XXX>
+=head3 L<h2ph>
 
 =over 4
 
 =item *
 
-XXX
+L<h2ph> used to generate code of the form
+
+    unless(defined(&FOO)) {
+       sub FOO () {42;}
+    }
+
+But the subroutine is a compile-time declaration, and is hence unaffected
+by the condition.  It has now been corrected to emit a string C<eval>
+around the subroutine [perl #99368].
 
 =back