Skip to content

t/01_config/03_logger.t: Test failure after recent change in Perl 5 blead #1244

@jkeenan

Description

@jkeenan

After a recent change in Perl's main development branch ("blead"), one test in the Dancer distribution has begun to fail when tested against a perl executable built with that code. The change in Perl in question was:

commit f430ad845a2f4f64125379fb1e31ac5bd85a4e91 (HEAD -> blead, origin/blead, origin/HEAD)
Author:     James E Keenan <[email protected]>
AuthorDate: Mon Dec 8 10:20:36 2025 -0500
Commit:     James E Keenan <[email protected]>
CommitDate: Fri Dec 19 06:51:32 2025 -0500

... which is the implementation of a planned fatalization of previously deprecated code, as describe in:

The test failure in question occurs in t/01_config/03_logger.t:

Attempt to call undefined import method with arguments via package "File::Spec" (Perhaps you forgot to load the package?) at t/01_config/03_logger.t line 6.
BEGIN failed--compilation aborted at t/01_config/03_logger.t line 6.
t/01_config/03_logger.t ............................. 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 

See: http://fast2-matrix.cpantesters.org/?dist=Dancer%201.3521;perl=5.43.6;reports=1

Sample failure report: hhttps://www.cpantesters.org/cpan/report/1fedbcaa-dcee-11f0-9461-f4fb0475d8f5

I suspect the failure lies in this code in the test file:

https://metacpan.org/release/YANICK/Dancer-1.3521/source/t/01_config/03_logger.t#L6

You probably want use File::Spec::Functions qw/catfile/;.

Thank you very much.
Jim Keenan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions