Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Test dependency problem in Graphics::Fig

by perlfan (Vicar)
on Aug 08, 2021 at 02:35 UTC ( [id://11135677]=note: print w/replies, xml ) Need Help??


in reply to Test dependency problem in Graphics::Fig

prove's -l (lowercase "L") appends ./lib to @INC. So, prove -l, might do what you want. Similarly, prove -It/lib would work for you it seems. That said, .pm files in ./t should probably be in ./t/lib or /xlib. Using Dist::Zilla, you could also have a proper lib/Test/ namespace, then strip out what you don't want to include in the actual distribution. YMMV

Replies are listed 'Best First'.
Re^2: Test dependency problem in Graphics::Fig
by Your Mother (Archbishop) on Aug 08, 2021 at 17:31 UTC

    I think s/appends/prepends/. It’s common to have multiple versions of a module or a core version in system perl or in local::lib or… so the distinction matters since @INC is searched in order.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11135677]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-24 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found