in reply to How to include a lot of files in a module?

Well, I would say that the list of modules you give, well combined, would allow for a smart solution. But there's also some that ease directory traversal.

Since you can't post code, I can only utter commonplace stuff:

  1. to include perl files, there's do, require, use, all of them can be found in perlfunc.
  2. as for require and use, they convert Foo::Bar::Quux into Foo/Bar/Quux.pm.
  3. all other files you will not want to feed to the interpreter, so you must process them yourself.

But shurely you know all of these. Another thing - perl's search path could be quite different when doing make test and use My::Module. Try setting the environment variable PERL5LIB to the directory of the My/Module.pm file.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}