Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f1e09f30a95838b8708092ad735c9a90c2e7c1ac
      
https://github.com/Perl/perl5/commit/f1e09f30a95838b8708092ad735c9a90c2e7c1ac
  Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M lib/File/stat.pm
    M lib/Net/hostent.pm
    M lib/Net/netent.pm
    M lib/Net/protoent.pm
    M lib/Net/servent.pm
    M lib/Time/gmtime.pm
    M lib/Time/localtime.pm
    M lib/Time/tm.pm
    M lib/User/grent.pm
    M lib/User/pwent.pm

  Log Message:
  -----------
  Modernise Class::Struct-using core modules

These modules cant't inherit from Exporter because they use
Class::Struct, and were written before Exporter could export its
import method.

Now that it can, update them to do that, and remove the pointless
BEGIN block around the Exporter setup.

While here, switch to `package NAME VERSION` syntax and bump the
`use VERSION` statement to 5.38 (but disable signatures, since the
modules use prototypes).


  Commit: 8401974959e71b2d87c6e02fca2b4bf093896770
      
https://github.com/Perl/perl5/commit/8401974959e71b2d87c6e02fca2b4bf093896770
  Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M lib/File/stat.pm
    M lib/Net/hostent.pm
    M lib/Net/netent.pm
    M lib/Net/protoent.pm
    M lib/Net/servent.pm
    M lib/Time/gmtime.pm
    M lib/Time/localtime.pm
    M lib/User/grent.pm
    M lib/User/pwent.pm

  Log Message:
  -----------
  Enable signatures and switch to explicit :prototype syntax

Also get rid of pointless (@) prototypes.


Compare: https://github.com/Perl/perl5/compare/b9f8f219024d...8401974959e7

Reply via email to