Closed jkeenan closed 3 years ago
One alternative approach: Instead of inserting no warnings'bareword;
in two subroutine definitions, we could prepend the entire file with:
package JSON::PP::freeze;
1;
package JSON::PP::tojson;
1;
That would correct the problem which was generating warnings. I think that might be preferable.
I decided to go ahead with putting two package declarations at the top of cpan/JSON-PP/t/052_object.t
. This eliminated the cause of the warnings. I then rebased the branch on alpha-dev-03-warnings
and locally merged the branch into the latter. See commit b8e81cf5092241d176873085791a94ea83874a15.
Thank you very much. Jim Keenan
Quiet two warnings. Correct coding errors that were cause of two others.