Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Logging in Catalyst model

by stonecolddevin (Vicar)
on Jul 13, 2011 at 19:42 UTC ( #914209=note: print w/replies, xml ) Need Help??


in reply to Logging in Catalyst model

There are various trains of thought on this, Bread::Board is an excellent option that will help you keep a lot of things like this in order and tidy. Otherwise, you have to pass a logging object to your model instantiation or the context object from Catalyst itself.

Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://914209]
help
Chatterbox?
[choroba]: if you modify them, Perl will crash with "Modification of a read-only value attempted" for $1
[choroba]: I can't replicate the situation, but I remember it was very hard to debug

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2018-02-22 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (297 votes). Check out past polls.

    Notices?