develooper Front page | perl.perl5.changes | Postings from November 2021

[Perl/perl5] f90dcd: add missing brace in perldsc hash of hashesexample

From:
Graham Knop via perl5-changes
Date:
November 22, 2021 18:39
Subject:
[Perl/perl5] f90dcd: add missing brace in perldsc hash of hashesexample
Message ID:
Perl/perl5/push/refs/heads/blead/46c759-e62a62@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f90dcd0cb292fc5f0e7ec2ea7cb1654f8fdd098e
      https://github.com/Perl/perl5/commit/f90dcd0cb292fc5f0e7ec2ea7cb1654f8fdd098e
  Author: Graham Knop <haarg@haarg.org>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M pod/perldsc.pod

  Log Message:
  -----------
  add missing brace in perldsc hash of hashes example


  Commit: e62a62a08b0c8568cfc68c82661b8e23f728477d
      https://github.com/Perl/perl5/commit/e62a62a08b0c8568cfc68c82661b8e23f728477d
  Author: Graham Knop <haarg@haarg.org>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M pod/perldsc.pod

  Log Message:
  -----------
  update perldsc examples to be strict compliant

Where possible, update perldsc examples to use lexical variables, to be
strict compliant. Earlier code in this document specifically discusses
differences with strict, but the examples aren't really related to
anything about non-lexical variables, so they should be updated to work
with modern standards.

Some parts of the examples have not been updated because they are using
variables that are implicitly meant to come from some an outside source.


Compare: https://github.com/Perl/perl5/compare/46c7599cc071...e62a62a08b0c



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About