Re: [cgiapp] blank page printed when using cgiapp_postrun

2006-09-02 Thread Sam Tregar
On Sat, 2 Sep 2006, Octavian Rasnita wrote: sub cgiapp_postrun { my $self = shift; $self-header_props(-charset = 'ISO-8859-2'); } Try using header_add() instead of header_props(). From the docs: Unlike calling header_props(), header_add() will preserve any existing headers. -sam

Re: [cgiapp] blank page printed when using cgiapp_postrun

2006-09-02 Thread Octavian Rasnita
From: Sam Tregar [EMAIL PROTECTED] sub cgiapp_postrun { my $self = shift; $self-header_props(-charset = 'ISO-8859-2'); } Try using header_add() instead of header_props(). From the docs: Unlike calling header_props(), header_add() will preserve any existing headers. It was

[cgiapp] runmode_authz()

2006-09-02 Thread Octavian Rasnita
Hi, I have read in the POD documentation of CGI::Application::Plugin::Authorization about a way of specifying the runmodes and their access levels, using: MyCGIApp-authz-runmode_authz( qr/^admin_/ = 'admin', ); But it doesn't work. It appears an error telling that there is no