This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Data::Dumper synopsis
authorElvin Aslanov <rwp.primary@gmail.com>
Fri, 2 Sep 2022 15:09:18 +0000 (19:09 +0400)
committerJames E Keenan <jkeenan@cpan.org>
Sat, 5 Nov 2022 15:41:51 +0000 (15:41 +0000)
Add `my` to synopsis.

Committer: Data-Dumper: Update $VERSION in POD.  The release date no
longer appears in the POD, so let's remove the comment admonishing us to
update it.

For: https://github.com/Perl/perl5/pull/20224

dist/Data-Dumper/Dumper.pm

index f425f87..7189920 100644 (file)
@@ -30,8 +30,7 @@ our ( $Indent, $Trailingcomma, $Purity, $Pad, $Varname, $Useqq, $Terse, $Freezer
 our ( @ISA, @EXPORT, @EXPORT_OK, $VERSION );
 
 BEGIN {
-    $VERSION = '2.186'; # Don't forget to set version and release
-                        # date in POD below!
+    $VERSION = '2.187'; # Don't forget to set version in POD below!
 
     @ISA = qw(Exporter);
     @EXPORT = qw(Dumper);
@@ -866,7 +865,7 @@ Data::Dumper - stringified perl data structures, suitable for both printing and
     }
 
     # OO usage
-    $d = Data::Dumper->new([$foo, $bar], [qw(foo *ary)]);
+    my $d = Data::Dumper->new([$foo, $bar], [qw(foo *ary)]);
        ...
     print $d->Dump;
        ...
@@ -1455,7 +1454,7 @@ modify it under the same terms as Perl itself.
 
 =head1 VERSION
 
-Version 2.186
+Version 2.187
 
 =head1 SEE ALSO