Setting status code

2012-09-26 Thread Jean-Christophe Boggio
Hello, I'm calling a page with jQuery's $.ajax() and I want it to return a status code (201 if ok, 400 if some parameters are missing). The goal is to use .done() and .fail() I guess that's the way to go but apart when doing redirects (with $http_header_out('location',['/page',302]) )I don't

Re: Input files in Execute and PerlIO layers for theirs + object_base option doesn't work

2012-09-26 Thread Perlover
Hi, I resolved one question (_base.epl) I found in your mail archive that i should set too 'appname' option (but no any tips in documentation about this). Now 'base.epl' works Second question about layer for reading of 'inputfile' is not resolved by me :( ---

Input files in Execute and PerlIO layers for theirs + object_base option doesn't work

2012-09-26 Thread Perlover
Dear Gerald, I have some problems with Embperl 2.4.0 (perl v.5.14.2) First, i use Embperl in my own environment (no mod_perl, apache, fcgi and etc). Only process under Starman server I want to use Embperl as: my $out; Embperl::Object::Execute({ inputfile => "/foo/d