[Catalyst] Re: POD viewer

2008-01-11 Thread Aristotle Pagaltzis
* Ashley <[EMAIL PROTECTED]> [2008-01-11 08:15]: > I don't know if the code is pretty yet but the presentation is > quite nice. The Pod::Xhtml module used internally is really pretty terrible, though. It is written for one use-case and one use-case only. As long as you don’t try to do anything non

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(); > >

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: $c->res

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] Co

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 Catalys

Re: [Catalyst] Serving html pages

2008-01-11 Thread Marcello Romani
Emmanuel Quevillon ha scritto: Hi, I am quite new with catalyst and I'd like to know how I could serve some html pages (actually documentation) e.g.: www.myapp.com/docs/index.html ? When I try to integrate such link in my template page, Pages are not served and as mentioned in the C::P::Stat

[Catalyst] Serving html pages

2008-01-11 Thread Emmanuel Quevillon
Hi, I am quite new with catalyst and I'd like to know how I could serve some html pages (actually documentation) e.g.: www.myapp.com/docs/index.html ? When I try to integrate such link in my template page, Pages are not served and as mentioned in the C::P::Static::Simple it does not serve .h

Re: [Catalyst] process a restored request

2008-01-11 Thread Jonas Alves
On Jan 11, 2008 6:27 PM, Matt S Trout <[EMAIL PROTECTED]> wrote: > On Tue, Jan 08, 2008 at 02:58:17PM -0500, [EMAIL PROTECTED] wrote: > > Hi, > > in my application, if a client issues a request after say 30 minutes of > > inactivity, I want to answer his request only after successfull > > authentic

Re: [Catalyst] process a restored request

2008-01-11 Thread Matt S Trout
On Tue, Jan 08, 2008 at 02:58:17PM -0500, [EMAIL PROTECTED] wrote: > Hi, > in my application, if a client issues a request after say 30 minutes of > inactivity, I want to answer his request only after successfull > authentication. > > Ideally, I would simply serialize $c->request in the session,

Re: [Catalyst] Re-enable digest mode?

2008-01-11 Thread Andrew Rodland
On Friday 11 January 2008 11:45:27 am Matt S Trout wrote: > You can get a feed from > > http://grokbase.com/group/[EMAIL PROTECTED] > > (which being a Catalyst-powered site is probably going to archive this > list pretty much indefinitely :) > > or you can configure your mail setup to siphon the me

RE: [Catalyst] Re-enable digest mode?

2008-01-11 Thread Lampert, Hugh
Well, I respectfully submit that the purpose of a digest is so people can archive the mailing list themselves in their e-mail systems, one digest per day. An RSS feed does not easily allow this, and for a busy list like this one, a subscriber might receive many messages per day, the number of w

Re: [Catalyst] Re-enable digest mode?

2008-01-11 Thread Matt S Trout
On Fri, Jan 11, 2008 at 09:52:58AM -0500, Lampert, Hugh wrote: > 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

Re: [Catalyst] Windows XAMPP Install - What happened to ngmedia.net?

2008-01-11 Thread Matt S Trout
On Thu, Jan 10, 2008 at 09:27:18AM -0600, Collin Condray wrote: > I am attempting to install Catalyst on my Windows machine using the > XAMPP distribution. One of the steps in the Windows install > instructions in the Catalyst wiki > (http://dev.catalystframework.org/wiki/Faq_ref#bi.1) is add the >

Re: [Catalyst] Gentoo Catalyst overlay: repository moved!

2008-01-11 Thread Matt S Trout
On Wed, Jan 09, 2008 at 06:06:05PM +0100, Michele Beltrame wrote: > Hello! > > The Catalyst-related ebuilds (along with some others) are now part of the > perl-exprimental Gentoo overlay. > > If you're using layman, please delete the old "catalystframework" overlay and > add "perl-experimental" i

Re: [Catalyst] POD viewer

2008-01-11 Thread J. Shirley
On Jan 11, 2008 2:01 AM, Zukoff <[EMAIL PROTECTED]> wrote: > 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.

Re: [Catalyst] Serving html pages

2008-01-11 Thread Alejandro Imass
Usually you would try to serve your static content directly with your Web Server and let only the dynamic part with Catalyst. For example you could have a configuration in your apache vhost as such: Suppose your app's name is vdc... [...] # root of your app DocumentRoot /var/ww

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 d

[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