Subject: | Overload arg '{}' is invalid |
0.050 added this code:
use overload '{}' => 'path';
but '{}' is not documented by overload module and indeed its use emits a warning with Perl 5.30.0 when running the tests:
$ make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/bad_dir.t ............ overload arg '{}' is invalid at /home/test/fedora/perl-Test-Directory/Test-Directory-0.050/blib/lib/Test/Directory.pm line 12.
t/bad_dir.t ............ 1/2 Use of uninitialized value $1 in concatenation (.) or string at /home/test/fedora/perl-Test-Directory/Test-Directory-0.050/blib/lib/Test/Directory.pm line 130.
bad-dir: at t/bad_dir.t line 8.