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

Study changes to t/op/*.t (10 of 12) #220

Open
jkeenan opened this issue Aug 17, 2020 · 3 comments
Open

Study changes to t/op/*.t (10 of 12) #220

jkeenan opened this issue Aug 17, 2020 · 3 comments
Assignees
Labels
study Study changes made by developers since 5.32.0

Comments

@jkeenan
Copy link
Collaborator

jkeenan commented Aug 17, 2020

In this ticket we will study our progress in pursuit of Objective 2, "strict-by-default", for the following files in the Perl core distribution:

t/op/sprintf2.t
t/op/sselect.t
t/op/stash.t
t/op/stash_parse_gv.t
t/op/sub.t
t/op/sub_lval.t
t/op/substr.t
t/op/svleak.t
t/op/sysio.t
t/op/taint.t

These files should be evaluated in light of the guidelines presented on this wiki page. Please post the summary of your findings in a single comment in this issue.

First-time contributors: (1) Please post a comment to this ticket indicating you are working on it. That will enable us to assign the ticket to you. (GitHub won't let us do that until it already thinks you're part of the project.) (2) You should subscribe to this repository so that you get email updates.

Thank you for helping to improve the Perl programming language.

@jkeenan jkeenan added the study Study changes made by developers since 5.32.0 label Aug 17, 2020
@brainbuz
Copy link
Collaborator

brainbuz commented Oct 6, 2020

I can take a few more of these.

@brainbuz
Copy link
Collaborator

file pass strictures removed reviewed diffs notes
t/op/sprintf2.t x --- x 268 stricture
t/op/sselect.t x x x  
t/op/stash.t x --- x 60 stricture
t/op/stash_parse_gv.t x x x  
t/op/sub.t x --- x 189 use strict;
t/op/sub_lval.t x x x  
t/op/substr.t x x x  
t/op/svleak.t x x x  
t/op/sysio.t x x x  
t/op/taint.t x --- x PR #313

taint.t had a global stricture and in a runperl block was testing the 'use' command with -T, in the PR I propose changing 'use strict' to 'use Getopt::Long', any Core module would serve the intention of the test.

@jkeenan jkeenan mentioned this issue Oct 14, 2020
@brainbuz brainbuz assigned jkeenan and unassigned brainbuz Oct 16, 2020
@brainbuz
Copy link
Collaborator

Jim assigning this to you since my study is done and the only remaining question is which module should be used on the test of 'use' under Taint, and you are better qualified to pick one than me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
study Study changes made by developers since 5.32.0
Projects
None yet
Development

No branches or pull requests

2 participants