Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Use Moose in Controller and Model

by sman (Beadle)
on Jan 25, 2010 at 20:04 UTC ( [id://819582]=note: print w/replies, xml ) Need Help??


in reply to Re: Use Moose in Controller and Model
in thread Use Moose in Controller and Model

Thanks. This is a test I did. I am not sure if I am right or wrong but I guess in the second case the superclass of Item becomes Moose::Object, not Catalyst::Controller::FormBuilder, and that's why Catalyst is complaining about. Am I right?
[1] use Moose; BEGIN { extends 'Catalyst::Model::DBIC::Schema' }; print "$_\n", foreach @MyApp::Controller::Item::ISA; <result> Catalyst::Controller::FormBuilder [2] use Moose; use base qw/Catalyst::Controller::FormBuilder/; print "$_\n", foreach @MyApp::Controller::Item::ISA; <result> Moose::Object Catalyst::Controller::FormBuilder

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2026-04-16 01:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.