develooper Front page | perl.perl5.changes | Postings from June 2020

[Perl/perl5] 0a9a2e: Suppress 2 runtime warnings

From:
James E Keenan
Date:
June 30, 2020 15:26
Subject:
[Perl/perl5] 0a9a2e: Suppress 2 runtime warnings
Message ID:
Perl/perl5/push/refs/heads/io-core-p7-20200630/e62c32-6c08b6@github.com
  Branch: refs/heads/io-core-p7-20200630
  Home:   https://github.com/Perl/perl5
  Commit: 0a9a2ed338181f6e6927aff90cb0a8d84f567804
      https://github.com/Perl/perl5/commit/0a9a2ed338181f6e6927aff90cb0a8d84f567804
  Author: James E Keenan <jkeenan@cpan.org>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M t/io/argv.t

  Log Message:
  -----------
  Suppress 2 runtime warnings


  Commit: 92cf7da311aaf1a993a6adfecc32889518b182db
      https://github.com/Perl/perl5/commit/92cf7da311aaf1a993a6adfecc32889518b182db
  Author: James E Keenan <jkeenan@cpan.org>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M t/io/argv.t

  Log Message:
  -----------
  Add descriptions to most tests lacking them


  Commit: 6c08b64a678893b4644248fd1918b309a557ac35
      https://github.com/Perl/perl5/commit/6c08b64a678893b4644248fd1918b309a557ac35
  Author: James E Keenan <jkeenan@cpan.org>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M t/io/layers.t

  Log Message:
  -----------
  t/io/layers.t: Handle uninitialized warnings

Running with warnings enabled reveals 3 instances of uninitialized value
warnings.  The tied object is not defined even though the code appears
to assign a value to it.  Add tests that demonstrate this, then suppress
the uninitialized value warnings.


Compare: https://github.com/Perl/perl5/compare/e62c325cf3b3...6c08b64a6788



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About