Re: [Catalyst] hostname

2008-01-11 Thread Knut-Olav Hoven
On Thursday 10 January 2008 21:15:25 Octavian Rasnita wrote: From: Ash Berlin [EMAIL PROTECTED] How did you get to a function in MyApp.pm during a request # in MyApp.pm sub foobarbaz { my ($c) = @_; } # In controller code. $c-foobarbaz(); Make sense? Not really.

Re: [Catalyst] hostname

2008-01-11 Thread Carl Johnstone
cookie_domain = the_host() in the MyApp config, but when I try to start the server it gives an error telling that I can't use the method req because $c is undefined. I'd be curious about why you wanted the cookie domain in the config anyway! I presume you've got a bit of code like:

RE: [Catalyst] POD viewer

2008-01-11 Thread Zukoff
Hello! I've got an error: [error] Caught exception in CatalystAdvent-begin Can't locate object method now via package DateTime (perhaps you forgot to load DateTime?) at /tmp/test/Script/../lib/CatalystAdvent.pm line 57. I've fixed it adding use DateTime; Then i've stopped at: [error] Couldn't

Re: [Catalyst] hostname

2008-01-11 Thread Octavian Rasnita
From: Carl Johnstone [EMAIL PROTECTED] cookie_domain = the_host() in the MyApp config, but when I try to start the server it gives an error telling that I can't use the method req because $c is undefined. I'd be curious about why you wanted the cookie domain in the config anyway! I

Re: [Catalyst] hostname

2008-01-11 Thread Jason Kohles
On Jan 11, 2008, at 5:29 AM, Carl Johnstone wrote: cookie_domain = the_host() in the MyApp config, but when I try to start the server it gives an error telling that I can't use the method req because $c is undefined. I'd be curious about why you wanted the cookie domain in the config

[Catalyst] Re-enable digest mode?

2008-01-11 Thread Lampert, Hugh
Up until this week I was receiving the Catalyst list e-mails in digest form. This week I'm getting individual e-mails. When I checked the list server options it told me digest mode had been disabled by the administrator. It's hard for me to process multiple individual e-mails from the

Re: [Catalyst] Serving html pages

2008-01-11 Thread Martin Ellison
I have a similar problem, but I am on shared hosting and I do not have access to httpd.conf, only to the local .htaccess files. I have the static plugin set up so we are delivering HTML, image files and other static pages via Catalyst, but similarly to Alejandro I would like to serve up the pages

[Catalyst] looking for suggestion on both cron and pm

2008-01-11 Thread Fayland Lam
generally I do have several corn scripts. so I want to get $user both in MyApp and cron scripts. what I tried to do is soemthing like that: the first is a base module which contains schema cache and tt2 and others. package Foorum::Adaptor::Base; sub new { my $self = shift; my $params