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

Re: How to get the Catalyst Context object

by Anonymous Monk
on Nov 07, 2015 at 07:54 UTC ( [id://1147174]=note: print w/replies, xml ) Need Help??


in reply to How to get the Catalyst Context object

How to get $c in other modules without explicit passing it?

Pass it

only controller should have access to the context, that is a design goal

if something other than controller depends context, its a design mistake (tight coupling)

  • Comment on Re: How to get the Catalyst Context object

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (8)
As of 2024-04-18 14:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found