Re: OT: mysql vs. postgresql (was: Re: CGI and mySQL book, any recommendation.)

2004-06-02 Thread Bill Jones
Wondering whether MySQL or Postgres is faster (or better) via CGI (which is the topic of this list) is sort of like wondering whether a JAPH which has less characters is in fact faster that longer equivalent code - all without looking at maintenance, ease of use, and understandability. I know

determinant is either zero, negative zero or infinite for matrixReal module

2004-06-02 Thread Boon Chong Ang
Hi, When I check the determinant of matrixReal module based on the data that I process and the size of that matrix is 256x256. The determinant that I received is zero, negative zero or infinite. How should I overcome this problem? Is it due to 32bit perl application limitation and if so, do we

help needed--query

2004-06-02 Thread Sidharth
hi all, i am new to this group. hope get maximum benifit out of this group. currently i am writting a script wherein i hav to creat a temporary file in each sub directory starting from main dir and write in to that file i hav to expand each make file within each sudirectory and place

RE: automatic feed in the matrix data and solve it

2004-06-02 Thread Charles K. Clarkson
Boon Chong Ang mailto:[EMAIL PROTECTED] wrote: : Hi, : I am having problem to automatic feed in the data and solve : the equation. Well, datatest.txt contains the data that I : need to manipulate, the script is testing_abc1.pl and : Matrix.pm is the one that I download from the net and use it :

a query--help needed

2004-06-02 Thread Sidharth
hi all, i am new to this group. hope get maximum benifit out of this group. currently i am writting a script wherein i hav to creat a temporary file in each sub directory starting from main dir and write in to that file i hav to expand each make file within each sudirectory and place

RE: help needed--query

2004-06-02 Thread Charles K. Clarkson
From: Sidharth mailto:[EMAIL PROTECTED] wrote: : currently i am writting a script wherein i hav to : creat a temporary file in each sub directory starting from : main dir and write in to that file : : i hav to expand each make file within each sudirectory and : place that temp file

perl decompress

2004-06-02 Thread Anish Mehta
Hi all, I need your suggestions regarding writing a perl script to decompress the data. I have an mysql table which has a field which contains data of the longblob type. What i want to do is to connect to the database server and then access that particualar table and decompress the data in

using Mail::Sendmail

2004-06-02 Thread DBSMITH
All, I am getting these errors... any ideas? Global symbol %mail requires explicit package name at foreign_tape_ck.pl line. Bareword EO_SIG not allowed while strict subs in use at foreign_tape_ck.pl . foreign_tape_ck.pl had compilation errors. Here is my code: ## Set pragmas use strict;

RE: using Mail::Sendmail

2004-06-02 Thread Charles K. Clarkson
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: : All, : : I am getting these errors... any ideas? : : Global symbol %mail requires explicit package name at : foreign_tape_ck.pl line. : Bareword EO_SIG not allowed while strict subs in use at : foreign_tape_ck.pl . foreign_tape_ck.pl had

Re: perl decompress

2004-06-02 Thread Jenda Krynicky
From: Anish Mehta [EMAIL PROTECTED] I need your suggestions regarding writing a perl script to decompress the data. I have an mysql table which has a field which contains data of the longblob type. What i want to do is to connect to the database server and then access that particualar table

Re: using Mail::Sendmail

2004-06-02 Thread Peter Scott
In article [EMAIL PROTECTED], [EMAIL PROTECTED] writes: I am getting these errors... any ideas? You are somewhat further away from success than simply eliminating the errors. Here's a start. Global symbol %mail requires explicit package name at foreign_tape_ck.pl line. Bareword EO_SIG not

RE: using Mail::Sendmail

2004-06-02 Thread DBSMITH
great thank you! I will try that and let you know. The reason for the non-indentation is b/c of a cut and paste, the production code is indented. Sorry! Derek B. Smith OhioHealth IT UNIX / TSM / EDM Teams Charles K. Clarkson [EMAIL PROTECTED] 06/02/2004 09:19 AM To:

unpack() help

2004-06-02 Thread rmck
Hi I have the .h file of a program that spits out a data file which is Binary Output. The binary file is a series of fixed length records. In C, each record has the format which is in the script. I thought I could use unpack to read the data, and I am having no success. PLEASE let me

Re: unpack() help

2004-06-02 Thread Roberto Etcheverry
rmck wrote: Hi I have the .h file of a program that spits out a data file which is Binary Output. The binary file is a series of fixed length records. In C, each record has the format which is in the script. I thought I could use unpack to read the data, and I am having no success. PLEASE

Conversion of CIDR prefix into Dotted-decimal

2004-06-02 Thread Singh, Ajit p
Hello Friends, I am looking for an elegant way of converting the CIDR prefix into Dotted-decimal notation in PERL. Can someone help me out if you have already one in place. i.e CIDR prefix length Dotted-decimal Binary /1 128.0.0.0

Re: Conversion of CIDR prefix into Dotted-decimal

2004-06-02 Thread Wiggins d Anconia
Hello Friends, I am looking for an elegant way of converting the CIDR prefix into Dotted-decimal notation in PERL. Can someone help me out if you have already one in place. i.e CIDR prefix lengthDotted-decimal Binary /1128.0.0.0

Strange behaviour in accessing array element

2004-06-02 Thread Edward Wijaya
Dear Sirs, The codes below gives this result: ATGC A:2 2 T:1 1 C:1 1 G:2 5 _END_ which I found strange, because the value for first row of second column should be 0. For example in the element of @array = , it takes the value of the first element of the array @pwmA (i.e 2) instead

trouble with a regular expression

2004-06-02 Thread Alex
I've got a seemingly simple script that is causing me to tear my hair out and I'm hoping someone can offer some advice. I'll try to keep it short and sweet. This script reads in the names of all the files in a directory given on the command line (the names of chapters for a book) into a variable

Extract text between tags

2004-06-02 Thread PerlDiscuss - Perl Newsgroups and mailing lists
I want the extract the text in between the tags from my htm file. I am using below code its not working Please let me know how to proceed further. use Text::Balanced gen_extract_tagged; my @queries = ( qq(QUERY = A href= Sureshsdf/a) ); for (@queries) { my ($extracted,

Help with Net::FTP behaviour

2004-06-02 Thread Papo Napolitano
I have this little piece of code: -- CUT -- #!/usr/bin/perl use strict; use warnings; use Net::FTP; my $address = localhost; my $port = 21; my $user = test; my $pass = test; my $sourcedir = /test/; my $sourcemask = *; my $destdir = /tmp/test/; my $ftp = Net::FTP-new( $address, Timeout =

Re: Help with Net::FTP behaviour

2004-06-02 Thread Wiggins d Anconia
I have this little piece of code: -- CUT -- #!/usr/bin/perl use strict; use warnings; use Net::FTP; my $address = localhost; my $port = 21; my $user = test; my $pass = test; my $sourcedir = /test/; my $sourcemask = *; my $destdir = /tmp/test/; my $ftp = Net::FTP-new(

Re: Help with Net::FTP behaviour

2004-06-02 Thread Papo Napolitano
What is unexpected about this? Your error is being caught, and the first line is just a warning, and a pretty useful one at that. From the Net::FTP documentation: get ( REMOTE_FILE [, LOCAL_FILE [, WHERE]] ) Get REMOTE_FILE from the server and store locally. LOCAL_FILE may be a filename or

Re: trouble with a regular expression

2004-06-02 Thread Wiggins d Anconia
I've got a seemingly simple script that is causing me to tear my hair out and I'm hoping someone can offer some advice. I'll try to keep it short and sweet. I think you should re-examine the order of events and make it very clear possibly right it in English (or your preferred language) again

Re: Strange behaviour in accessing array element

2004-06-02 Thread Paul Johnson
On Thu, Jun 03, 2004 at 01:23:19AM +0800, Edward Wijaya wrote: The codes below gives this result: ATGC A:2 2 T:1 1 C:1 1 G:2 5 _END_ which I found strange, because the value for first row of second column should be 0. My question is how can I avoid my code of taking

Re: Help with Net::FTP behaviour

2004-06-02 Thread Wiggins d Anconia
What is unexpected about this? Your error is being caught, and the first line is just a warning, and a pretty useful one at that. From the Net::FTP documentation: get ( REMOTE_FILE [, LOCAL_FILE [, WHERE]] ) Get REMOTE_FILE from the server and store locally. LOCAL_FILE may be a

calculation script

2004-06-02 Thread Maxipoint Rep Office
Hello, I wish create calculation script for one form with 12 possible items (one option only of 12 must be filled/selected from client) + 5 possible items (one option only of 5 must be filled/selected from client) + possible max. 3 optional values. Every item has price, user add quantity