Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove eval around require Scalar::Util #33

Merged
merged 1 commit into from Oct 8, 2014

Conversation

haarg
Copy link
Member

@haarg haarg commented Oct 4, 2014

The required version of perl is high enough that Scalar::Util should
always be present. The eval is only needed because we are also checking
the version. However, if Scalar::Util is broken for some reason, it's
better to die than silence the error. If we silence the error, later
attempts to load it will only give "Attempting to reload Scalar/Util.pm
aborted", making diagnostics much harder.

The required version of perl is high enough that Scalar::Util should
always be present.  The eval is only needed because we are also checking
the version.  However, if Scalar::Util is broken for some reason, it's
better to die than silence the error.  If we silence the error, later
attempts to load it will only give "Attepting to reload Scalar/Util.pm
aborted", making diagnostics much harder.
karenetheridge added a commit that referenced this pull request Oct 8, 2014
Remove eval around require Scalar::Util
@karenetheridge karenetheridge merged commit 33a2dde into Perl-Toolchain-Gang:devel Oct 8, 2014
@haarg haarg deleted the loud-load-error branch April 4, 2019 20:47
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.

None yet

3 participants