Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Test dependency problem in Graphics::Fig

by perlfan (Vicar)
on Aug 08, 2021 at 02:35 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-05-26 23:35 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (94 votes). Check out past polls.