Branch: refs/heads/class-struct-vs-exporter
  Home:   https://github.com/Perl/perl5
  Commit: 42bd9f2d7c43d1220ad8c8266efae56ba5094f3c
      
https://github.com/Perl/perl5/commit/42bd9f2d7c43d1220ad8c8266efae56ba5094f3c
  Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org>
  Date:   2023-10-04 (Wed, 04 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).


Reply via email to