Branch: refs/heads/class-struct-vs-exporter
Home: https://github.com/Perl/perl5
Commit: 6ab7081751ff6a5dc79026e4bb58825b4e5e13db
https://github.com/Perl/perl5/commit/6ab7081751ff6a5dc79026e4bb58825b4e5e13db
Author: Dagfinn Ilmari Mannsåker <[email protected]>
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 couldn'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.
In passing, bump the use VERSION statement to 5.38, but disable
signatures, since the modules use prototypes.