Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Moose and Exporter

by Anonymous Monk
on Dec 07, 2012 at 03:29 UTC ( [id://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 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-23 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found