[Catalyst] Engine::CGI POST

Anton Katsarov tony at katsarov.org
Mon Mar 17 10:37:03 GMT 2008


I fixed it, Thanks anyway.
:-)
On пн, 2008-03-17 at 11:02 +0200, Anton Katsarov wrote:
> Hello, all,
> I am trying to get any post params using C::Engine::CGI, but no result.
> 
> Thsi is my cgi handler:
> 
> #!/usr/bin/perl
> use strict;
> use warnings;
> BEGIN {
>  $ENV{CATALYST_ENGINE} ||= 'CGI';
> 
>  }
> 
> 
> use FindBin;
> use lib "$FindBin::Bin/../lib";
> use lib "../../lib";
> use MyApp;
> 
> eval {
> 
> 	 MyApp->run;
> 	};
> if ($@) {
> 	printf("Content-type: text/plain \n\n");
> 	print $@;
> }
> 
> 1;
> 
> and in addition in my application I force using of CGI engine:
> 
> use Catalyst qw/
> 		 -Engine=CGI
> 		 ConfigLoader
> 		 Static::Simple
> 		 StackTrace
> 
> 		 FormValidator
> 		 Email
> 		 Authentication
> 		 Authentication::Store::DBIC
> 		 Authentication::Credential::Password
> 
> 		 Session
> 		 Session::Store::DBI
> 		 Session::State::Cookie
> 	       /;
> Does anyone have an idea why POST params are not passing?
> 
> Thanks in advance.
> Best Regards,
> Anton Katsarov
> 
> 
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/




More information about the Catalyst mailing list