Skip to content

Conversation

@haarg
Copy link
Contributor

@haarg haarg commented Jun 10, 2024

Removes the use of AutoLoader. It's an optimization that hasn't been relevant for decades. This required fixing a number of syntax and compile errors in the autoloaded subs. The autoloaded subs with compile errors haven't worked since at least perl 5.8, so they could be removed. But for now they were left in place.

Removes the use of use vars, which hasn't been needed since perl 5.6.

Removes the fallback to DynaLoader, which hasn't been needed since perl 5.8.

haarg added 8 commits June 10, 2024 16:47
This module requires perl 5.8.1, it can use our. This also better
prepares for using strict properly.
This module requires perl 5.8.1, XSLoader is always available.
Assigning a scalar to splice has been a compile error since at least
perl 5.8, so these subs are definitely never used and could be deleted.
But it's also simple to fix them.
AutoLoader has not been a reasonable optimization for a long time.
There is no reason to prefer use vars over our since we require perl
5.8.1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant