Guys,

Let's say I have some common functions that I want available to all my
.t files.  So I've created a module that all the .t files can include.
 But where do I put it?  I don't want to put it in lib/ because I
don't want it to get installed, right?  But when I put it in t/, make
test can't seem to find it.

I suppose I could include it via

    use t::MyTest;

rather than

    use MyTest;

but that seems like cheating.  Plus then it means I'm tied to only
running the tests from one certain directory (but maybe that's
inevitable?).

Is there a "standard" way of doing what I'm trying to do here?  (Where
"standard" could be defined as "typical" or "best-practice" or
"workable" or whatever.)  Or is there some reference that I've failed
to read about building Perl modules (still working on my first CPAN
upload) that would cover this?  TIA.


            -- Buddy

Reply via email to