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

Replace "use vars" with "our" #121

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Replace "use vars" with "our" #121

merged 1 commit into from
Aug 19, 2024

Conversation

JRaspass
Copy link
Contributor

Use of this pragma is discouraged in favour of "our" under 5.06+.

Also move strict/warnings higher in DBI.pm to cover the two big BEGIN blocks, this caused a few other tweaks to code to compile under strict.

In a couple of tests vars was changed to my as package scope was obviously not needed.

Use of this pragma is discouraged in favour of "our" under 5.06+.

Also move strict/warnings higher in DBI.pm to cover the two big BEGIN
blocks, this caused a few other tweaks to code to compile under strict.

In a couple of tests vars was changed to my as package scope was
obviously not needed.
@Tux
Copy link
Member

Tux commented Aug 19, 2024

Nice cleanup!

@Tux Tux merged commit cf3be4e into perl5-dbi:master Aug 19, 2024
34 checks passed
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.

2 participants