Re: One last error in Apache log

2005-07-23 Thread Roberto Ruiz
;start_html, $q->h1('testing'), $q->end_html; --- minimal.cgi end here - cut And see if it works on that directory. If not, you will need to read/seek details on setting it up the mentioned ScriptAlias on the main http.conf of your apache installation, or you may just need a: Options

Re: Inserting data into MySql using perl script

2003-06-09 Thread Roberto Ruiz
#x27; in 'field list' > at ./mysql_write1.pl line 21, line 1. Check the name of the fields in table infiles in the mysql command line, like: mysql> use dnazary mysql> describe infiles; Because the error tells you that there is no column whit the name "name" in the t

Re: replacing text in a file

2002-10-09 Thread Roberto Ruiz
1/NOT APPLICABLE/ if /UPDATED="(.*?)"/' file.txt This would save your original file.txt as file.txt.old and write the modified version directly to file.txt HTH, Roberto Ruiz. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HASH?

2002-10-07 Thread Roberto Ruiz
ways have the email address of the user owning the data, or your email address so you can check your user information and ask him/her to correct his/her personal information record to add an email address. See you, hth Roberto Ruiz ps. sorry for my bad English. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Text output formating

2002-09-19 Thread Roberto Ruiz
int $q->end_html; # This sub returns the text. sub correct_str { my $ret_val = shift; $ret_val =~ s//>/g; $ret_val =~ s/\n/\n/g; $ret_val; } -- example script end -- cut here Thank's in advance for any help with this problem, see you. Roberto Ruiz -- LINUX: the FREE 32 bit

Re: Counter and scoping(?) issue

2002-05-29 Thread Roberto Ruiz
it should be good for you to use the '-w' flag in the perl command line to check for simple errors like this. Also using: 'use strict;' could be useful. :) Just put: #!/usr/bin/perl -w use strict; At the beginning of your scripts. See you Roberto Ruiz -- A train sto

Re: if "or die "..." it surely dies!

2002-05-26 Thread Roberto Ruiz
> $file") or die "Can't open the file $file - $!"; There should be other modes more appropiate to create a file for a counter (like for updating it), for that you may want to check: perldoc perlopentut God bless you. Roberto Ruiz -- A train stops at a train station; a bus