Re: [Catalyst] hostname

2008-01-08 Thread Oleg Pronin
If you mean to get hostname in offline mode (off the processing request) - the hostname is not known because there are no request. You can get the server's real hostname by Sys::Hostname::hostname() but this probably won't help. 2008/1/9, Octavian Rasnita <[EMAIL PROTECTED]>: > > Hi, > > Is it pos

Re: [Catalyst] hostname

2008-01-08 Thread Ashley
Oh, I was too fast. Blush. You mean without the context object. :( On Jan 8, 2008, at 11:31 PM, Octavian Rasnita wrote: Hi, Is it possible to get the host name in MyApp.pm just like I can do it in a controller using $c->req->hostname; Thank you. Octavian ___

Re: [Catalyst] hostname

2008-01-08 Thread Ashley
Will I win this game of slapjack? $c->request->uri->host On Jan 8, 2008, at 11:31 PM, Octavian Rasnita wrote: Hi, Is it possible to get the host name in MyApp.pm just like I can do it in a controller using $c->req->hostname; Thank you. Octavian

[Catalyst] hostname

2008-01-08 Thread Octavian Rasnita
Hi, Is it possible to get the host name in MyApp.pm just like I can do it in a controller using $c->req->hostname; Thank you. Octavian ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searc

RE: [Catalyst] POD viewer

2008-01-08 Thread Dami Laurent (PJ)
>-Message d'origine- >De : Ashley [mailto:[EMAIL PROTECTED] >Envoyé : mercredi, 9. janvier 2008 04:05 >À : The elegant MVC web framework >Objet : [Catalyst] POD viewer > >Through a somewhat shallow search (difficult terms to search out >effectively) of the archives and search.CPAN I can'

[Catalyst] POD viewer

2008-01-08 Thread Ashley
Through a somewhat shallow search (difficult terms to search out effectively) of the archives and search.CPAN I can't find if anyone has hacked up a Cat based POD viewer/Controller; like the modperl Apache one but, one hopes, without the (early?) security issues. I want to be able to share

Re: [Catalyst] process a restored request

2008-01-08 Thread Jonas Alves
On Jan 8, 2008 7:58 PM, <[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, ask for > authent

[Catalyst] process a restored request

2008-01-08 Thread catalyst
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, ask for authentication, then if successfull restore the stored request to $c

Re: [Catalyst] Catalyst::Log::Log4perl log duplicates

2008-01-08 Thread Jason Kohles
On Jan 7, 2008, at 10:16 PM, Adam Jacob wrote: On 1/7/08, Jason Kohles <[EMAIL PROTECTED]> wrote: It's also kind of a pain. I use log4perl with Catalyst, but without the plugin, primarily for three reasons: Patches are gladly accepted, especially if they make things better, and don't break b