]> git.vpit.fr Git - perl/modules/B-RecDeparse.git/blobdiff - lib/B/RecDeparse.pm
Replace uses of "$^V" by "$]"
[perl/modules/B-RecDeparse.git] / lib / B / RecDeparse.pm
index a075c339ecc5b6885f40a4ff726674accd14fa77..7395ebb11eb17552ebe95c399ee5387ad38a186e 100644 (file)
@@ -65,8 +65,8 @@ The C<level> option expects an integer that specifies how many levels of recursi
 use constant {
  # p31268 made pp_entersub call single_delim
  FOOL_SINGLE_DELIM =>
-     ($^V ge v5.9.5)
-  || ($^V lt v5.9.0 and $^V ge v5.8.9)
+     ("$]" >= 5.009_005)
+  || ("$]" <  5.009 and "$]" >= 5.008_009)
   || ($Config{perl_patchlevel} && $Config{perl_patchlevel} >= 31268)
 };
 
@@ -219,20 +219,37 @@ sub pp_gv {
  return $body;
 }
 
-=head2 C<compile>
+=pod
 
-=head2 C<init>
+The following functions and methods from L<B::Deparse> are reimplemented by this module :
 
-=head2 C<deparse_sub>
+=over 4
 
-=head2 C<pp_entersub>
+=item *
 
-=head2 C<pp_refgen>
+C<compile>
 
-=head2 C<pp_gv>
+=item *
 
-Functions and methods from L<B::Deparse> reimplemented by this module.
-Never call them directly.
+C<init>
+
+=item *
+
+C<deparse_sub>
+
+=item *
+
+C<pp_entersub>
+
+=item *
+
+C<pp_refgen>
+
+=item *
+
+C<pp_gv>
+
+=back
 
 Otherwise, L<B::RecDeparse> inherits all methods from L<B::Deparse>.