Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Moose and Exporter

by Anonymous Monk
on Dec 07, 2012 at 03:29 UTC ( #1007678=perlquestion: print w/ replies, xml ) Need Help??
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?

Comment on Moose and Exporter
Select or Download Code
Replies are listed 'Best First'.
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.

Re: Moose and Exporter
by tobyink (Abbot) on Dec 07, 2012 at 06:34 UTC
      Yes I am. I have it in the wrong place, eh? Thanks.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1007678]
Approved by ww
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2015-11-29 06:57 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (748 votes), past polls