Skip Menu |

This queue is for tickets about the IO-Pager CPAN distribution.

Report information
The Basics
Id: 133330
Status: resolved
Priority: 0/
Queue: IO-Pager

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.03
Fixed in: 2.00



Subject: Tests fail if PAGER environment variable is not set.
Tests 07-oo_interactive.t & 11-redirect-oo.t fail if the environment variable PAGER is not set. The problem is that IO::Pager::Perl isn't yet installed, and $IO::Pager::less::BLIB isn't set, so IO::Pager::Perl can't be found. % env -u PAGER perl -Mblib t/07-oo_interactive.t ok 1 - An object of class 'IO::Pager::Buffered' isa 'IO::Pager::Buffered' Can't locate IO/Pager/Perl.pm in @INC (you may need to install the IO::Pager::Perl module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /opt/saotrace-2.0.4_07-build/build/IO-Pager/IO-Pager-1.03/blib/lib/IO/Pager/tp line 4. BEGIN failed--compilation aborted at /opt/saotrace-2.0.4_07-build/build/IO-Pager/IO-Pager-1.03/blib/lib/IO/Pager/tp line 4. % env -u PAGER perl -Mblib t/11-redirect-oo.t Can't locate IO/Pager/Perl.pm in @INC (you may need to install the IO::Pager::Perl module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /opt/saotrace-2.0.4_07-build/build/IO-Pager/IO-Pager-1.03/blib/lib/IO/Pager/tp line 4. BEGIN failed--compilation aborted at /opt/saotrace-2.0.4_07-build/build/IO-Pager/IO-Pager-1.03/blib/lib/IO/Pager/tp line 4. not ok 1 - Redirection with OO While I've explicitly erased PAGER in the above examples, there are some environments where it is not present (namely docker images for Fedora 31&34) where it is not set. Thanks, Diab