Skip Menu |

This queue is for tickets about the MooX-LazierAttributes CPAN distribution.

Report information
The Basics
Id: 120574
Status: resolved
Priority: 0/
Queue: MooX-LazierAttributes

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

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



Subject: relies on . being in @INC
The test t/01-basic_attributes.t loads t::odea::BasicAttributes, which is using a path relative to the current directory. In future versions of perl, the current directory will not be in @INC, so loading like that will fail. There will be workarounds in place so this won't break immediately, but it should still be changed. The easiest solution would be to add use lib '.'; to your test script.
I have Added the line - use lib '.' to t/01-basic-attributes.t - Thanks. On Fri Mar 10 04:35:04 2017, haarg wrote: Show quoted text
> The test t/01-basic_attributes.t loads t::odea::BasicAttributes, which > is using a path relative to the current directory. In future versions > of perl, the current directory will not be in @INC, so loading like > that will fail. > > There will be workarounds in place so this won't break immediately, > but it should still be changed. The easiest solution would be to add > > use lib '.'; > > to your test script.