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

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?

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2016-07-26 18:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (239 votes). Check out past polls.