Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I seldom try to break a perl module into parts because it is too big. But, I am trying to produce my first (family) of Perl modules as part of a bigger project to release to CPAN.

I am trying to break up the code into logical chunks. The two main interface modules are Moose. The other modules are mostly not Moose. I am working with Akima interpolants.

If I do

use Akima::Tools;
I get an error that it can't find _horner. If I do
use AkimaTools;
It finds the _horner function. Both versions have use Exporter.

I think I have all the other necessary changes accounted for. I know that there are Perl changes queued up from Debian, but updating packaged in the middle of a debug usually doesn't bring much joy.

What am I doing wrong?

Replies are listed 'Best First'.
Re: Moose and Exporter
by tobyink (Canon) on Dec 07, 2012 at 06:34 UTC
      Yes I am. I have it in the wrong place, eh? Thanks.
Re: Moose and Exporter
by Anonymous Monk on Dec 07, 2012 at 04:10 UTC

    Using Moose, setting some "types" in a separate module is best. What was working a week ago, is now also complaining about a function that Moose should be generating is not available.

    I will guess that both the original and this problem are related, but I am at a loss as to where the real problem lies. I hope this rings a bell with a Monk.