Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Moose error?

by viento (Initiate)
on Mar 12, 2013 at 11:26 UTC ( [id://1022962]=note: print w/replies, xml ) Need Help??


in reply to Moose error?

Hi,

You have probable some syntax error in source code.

But,
the deepest reason of this error is the circular depencency.

So remove this depedency. Yes remove it, move some functions to external module or something. It is always good idea to do it.

If you want fast workaround - use 'require' for this circular module.

The difference between use and require is that require is including module during the execution time, and use at the compilation time (equivalent to use 'require' in BEGIN section). And this is a problem for Moose

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1022962]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-20 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found