-
Notifications
You must be signed in to change notification settings - Fork 8
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/run/*.t #246
Comments
I'll take it |
|
# Failed test 23 - at ./test.pl line 1069
# got "TIEARRAY FAKEARRAY fred\nTIEARRAY FAKEARRAY fred\nDESTROY "
# expected "TIEARRAY FAKEARRAY fred\nTIEARRAY FAKEARRAY fred\nDESTROY"
# PROG:
# {
# package FAKEARRAY;
#
# my $count = 0;
# sub TIEARRAY
# { print "TIEARRAY @_\n";
# die "bomb out\n" unless $count ++ ;
# bless ['foo']
# }
# sub FETCH { print "fetch @_\n"; $_[0]->[$_[1]] }
# sub STORE { print "store @_\n"; $_[0]->[$_[1]] = $_[2] }
# sub DESTROY { print "DESTROY \n"; undef @{$_[0]}; }
# } |
Jim here's the output ./perl -Ilib -V config_args. @inc includes default paths which don't exist because the perl is uninstalled. The test fails when I remove the global stricture. |
Can you check to see whether you accidentally deleted a trailing whitespace after If you have deleted that spaceband, that will explain the test failure. Note that at line 177, there is a whitespace after |
My editor seems to like to cleanup whitespace, when I edited the file with vi to comment out use strict the test was able to pass. |
So if you're thinking of a p.r. (drawn against |
One file updated in #289. Closing. Thank you very much. |
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:
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.
The text was updated successfully, but these errors were encountered: