Re: Dumping all vars

2006-10-05 Thread J. Alejandro Ceballos Z. -JOAL-
With the parameters are not problem (in fact I use the followin code for that - $cgi_this is the CGI object -: foreach $str_param ($cgi_this->param) { print "\n $str_param: \t" . $cgi_this->param($str_param); } ) I want to make a var dump with the vars existing at some moment of the code, in

Dumping all vars

2006-10-03 Thread J. Alejandro Ceballos Z. -JOAL-
The variables created during a cgi, are stored in some kind of hash, like the %ENV enviroment variables? I want to create in some points, a var dump of all variables existed, in order to track errors. Atentamente, ,_, (O,O)

RE: Convert utf-8 XML Document to ISO format

2006-08-07 Thread J. Alejandro Ceballos Z. -JOAL-
You can try with *Encode::Unicode* or *Unicode::Transform* An other form is using the sustitution parameters (s/) in order to do inverse co

Out of memory while Inserting

2006-08-03 Thread J. Alejandro Ceballos Z. -JOAL-
I've created a perl routine that reads a RTF file, and while interpreting, it is storing the information on a Mysql database. It is like: while not EOF (read line, validate, db insert it) The problem is that after a few registers (around 1'500,000) a message of "out of memory" appears and th

Re: How do I send a HTTP/1.1 202 (Accepted)

2006-08-03 Thread J. Alejandro Ceballos Z. -JOAL-
The 202..203, 204... are "http server status codes". It depends what are wanting to do. Check : http://www.w3.org/Protocols/HTTP/HTRESP.html The $cgi->header comes from the CGI.pm module, so, check against the syntaxis. Check: http://search.cpan.org/src/LDS/CGI.pm-3.20/cgi_docs.

Problems with CGI and mod_perl

2006-06-09 Thread J. Alejandro Ceballos Z. -JOAL-
I am running ubuntu on my pc and I installed the package mod_perl ... Did you installed directly (perl Makefile.PL and so on...) or used the cpan command (mihost# sudo cpan ) ? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Maybe off-topic. Detecting code used

2006-04-25 Thread J. Alejandro Ceballos Z. -JOAL-
I am processing a file using Unicode::Transform module to change the coding from UTF-8 to Unicode. Exist some way to detect the code used in one file (utf8, unicode) in order to select if some transform action is needed? TIA, ,_,