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

Use warnings #25

Closed
wants to merge 1 commit into from
Closed

Use warnings #25

wants to merge 1 commit into from

Conversation

openstrike
Copy link
Contributor

This is a trivial PR to use warnings in the module as recommended by CPANTS. There doesn't appear to be any particular reason not to use warnings for this module and it passes tests cleanly (and quietly) when warnings are used on my test systems.

@karenetheridge
Copy link
Member

I looked at adding the use of warnings a while back, but it would be really risky to introduce new warnings to production systems that are not expecting it -- this can fill up logs quickly.

@openstrike
Copy link
Contributor Author

The reticence is understandable and I agree with it to a certain extent.

However, as a user I would be inclined towards the use of warnings as by their very nature they should serve to highlight potential problems or unexpected scenarios in either my code or within the module which could then be addressed. If we had an extensive release test (yes, I might be volunteering here) which would cover as many of the combinations of inputs as possible and thereby determine that normal operation were silent even when warnings are used would that be a sufficient enabler for using warnings?

@karenetheridge
Copy link
Member

Yes, potentially :)

On Fri, Aug 21, 2015 at 3:44 AM, Pete Houston notifications@github.com
wrote:

The reticence is understandable and I agree with it to a certain extent.

However, as a user I would be inclined towards the use of warnings as by
their very nature they should serve to highlight potential problems or
unexpected scenarios in either my code or within the module which could
then be addressed. If we had an extensive release test (yes, I might be
volunteering here) which would cover as many of the combinations of inputs
as possible and thereby determine that normal operation were silent even
when warnings are used would that be a sufficient enabler for using
warnings?


Reply to this email directly or view it on GitHub
#25 (comment)
.

@oalders oalders mentioned this pull request Jun 13, 2023
@oalders
Copy link
Member

oalders commented Jun 13, 2023

Reworked this in #69. Thanks, @openstrike!

@oalders oalders closed this Jun 13, 2023
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