Re: dinamic table creation with cgi.pm

2011-10-28 Thread Pau Marc Munoz Torres
Hi Shlomi thanks you for your advise, next time i would do it carefully pau 2011/10/28 Shlomi Fish > Hi Pau, > > in addition to what Shawn has written, here are a few comments on your > code: > > On Fri, 28 Oct 2011 15:22:26 +0200 > Pau Marc Munoz Torres wrote: > >

Re: dinamic table creation with cgi.pm

2011-10-28 Thread Pau Marc Munoz Torres
thanks! 2011/10/28 Shawn H Corey > On 11-10-28 09:22 AM, Pau Marc Munoz Torres wrote: > >> Hi everbody! >> >> I just discovered CGI.pm package and i think it's cool, but i still >> having >> a couple of dubts >> >> Imagine i got a pi

dinamic table creation with cgi.pm

2011-10-28 Thread Pau Marc Munoz Torres
Hi everbody! I just discovered CGI.pm package and i think it's cool, but i still having a couple of dubts Imagine i got a pice of script like that use DBI; use CGI; my $h=new CGI() ; ## some DB connection print $h->header; print $h->start_html; my $query=$q->prepare("select name, age f

Re: two errors

2010-10-29 Thread Pau Marc Munoz Torres
Thursday 28 October 2010 16:04:19 Pau Marc Munoz Torres wrote: > > Hi every body > > > > recently i compiled a svmlight perl module two use svmlight program with > > perl > > > > > http://search.cpan.org/~kwilliams/Algorithm-SVMLight-0.09/lib/Algorithm/S

two errors

2010-10-28 Thread Pau Marc Munoz Torres
Hi every body recently i compiled a svmlight perl module two use svmlight program with perl http://search.cpan.org/~kwilliams/Algorithm-SVMLight-0.09/lib/Algorithm/SVMLight.pm to compile a patch is needed and as i wanted to run it under linux in a 64 bits machine, i used the flag make " CFLAGS=

Re: DBI driving me nuts ... !

2009-10-29 Thread Pau Marc Munoz Torres
Have you tried to print @row? #!/usr/bin/perl use Mysql; $dbh = Mysql->connect("localhost"," > > mailscanner","root","c0nc3pt") or > die ("Error " . Mysql->errno . " - " . Mysql->errstr); > $sql = "SELECT to_address FROM maillog LIMIT 10;"; > $sth = $dbh->query($sql) or die ("Error " . Mysql->e

Fwd: how to refresh between different pages of the same script

2008-04-08 Thread Pau Marc Munoz Torres
I have to modify a script to upload different data to a server, until now i did and script that ask you a question and capture the variable into a hash (see below), now, i would like to modify it and make something that allows me to ask different questions using the same script how can i do thi

how to refresh between different pages of the same script

2008-04-08 Thread Pau Marc Munoz Torres
I have to modify a script to upload different data to a server, until now i did and script that ask you a question and capture the variable into a hash (see below), now, i would like to modify it and make something that allows me to ask different questions using the same script how can i do thi

assign javascript variables to a perl variables using ajax

2008-04-04 Thread Pau Marc Munoz Torres
Hi , I got a cgi in perl, in this cgi i use ajax to ejecute a javascript code, in this code i produce a prompt, and i store the value at the res variable. now i would like to store this variabe, res into a perl variable ($res), something like $res=res How can i do that? thanks #!/usr/bin/perl

Re: Can't find string terminator "EOHTML" anywhere before EOF

2008-04-04 Thread Pau Marc Munoz Torres
mmm i did in a single line and i keep havinh the problem my $html = <Enter something:EOHTML return $html; 2008/4/4, Rob Dixon <[EMAIL PROTECTED]>: > > Pau Marc Munoz Torres wrote: > > Hi > > > > I just copied this script from CGI::Ajax manu

Can't find string terminator "EOHTML" anywhere before EOF

2008-04-04 Thread Pau Marc Munoz Torres
Hi I just copied this script from CGI::Ajax manual at cpan.org page use strict; use CGI; # or any other CGI:: form handler/decoder use CGI::Ajax; my $cgi = new CGI; my $pjx = new CGI::Ajax( 'exported_func' => \&perl_func ); print $pjx->build_html( $cgi, \&Show_HTML); sub pe

Re: dinamic cgi with perl

2008-04-02 Thread Pau Marc Munoz Torres
Hi is There some easy-understanding "how to use ajax with perl" tutorial somewhere? i just need to know how to do a cgi script to launch a prompt (javascript) and use the answer in my script please help!! pau -- Pau Marc Muñoz Torres Laboratori de Biologia Computacional Institut de Biotecn

dinamic cgi with perl

2008-03-14 Thread Pau Marc Munoz Torres
Hi everybody i got a program that works in a bash environment, and now, i would like to make a cgi with it, the objective for this program is check the integrity of the info provided by some text files and if it finds some error ask you for some info and i would like to be able to introduce it.

Re: loading scripts to mysql

2007-11-13 Thread Pau Marc Munoz Torres
hi, Tanks for your help, finally i found the "source" command. It work like this: mysql> source /Lhome/geruppa/mhc/Pack_Ref_web/prova.sql 2007/11/9, Michael Gargiullo <[EMAIL PROTECTED]>: > > On Fri, 2007-11-09 at 13:22 +0100, Pau Marc Munoz Torres wrote: > &

indexing tables using my owns functions

2007-11-13 Thread Pau Marc Munoz Torres
Hi I've created a function that return a float value the code for it is : create function IDR(pin1 varchar(20),pin4 varchar(20),pin6 varchar(20),pin7 varchar(20),pin9 varchar(20),MOL varchar(20)) returns float DETERMINISTIC begin declare output float;

Re: About FASTA file

2007-11-12 Thread Pau Marc Munoz Torres
Hi Fasta file is just a text file, so you can read it as any other text file using perl. The name usually is somthing.fasta, but you can keep the old name (output.txt) The format is: > sequence description sequence (60 letters) sequence (60 letters) For more info, reed this link http://en.wi