DBI in CGI's

2002-07-03 Thread Barry Jones
around this and still use the DBI even if it's not available on the server? Where can I get the MySQL drivers? Barry Jones DATABUILT, Inc. The Global AEC Information Company 1476 Fording Island Rd. Bluffton, SC 29910 (843) 836-2166 office Life is like a dogsled team; if you ain't the lead dog

Escaping characters

2002-06-04 Thread Barry Jones
but it just won't work. Here's the code, maybe you can help me out. Note: the bold tags are just there while I'm testing it, not what it's going to be used for. $body =~ s/\{\{(.*?)\}\}/\b\$1\\/b\/g; Barry Jones DATABUILT, Inc. The Global AEC Information Company 1476 Fording Island Rd

RE: Escaping characters

2002-06-04 Thread Barry Jones
Jones; Beginners @ Perl (E-mail) Subject: RE: Escaping characters -Original Message- From: Barry Jones [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 1:15 PM To: Beginners @ Perl (E-mail) Subject: Escaping characters Hi, I'm trying to do a patter match

Simple array question

2002-05-31 Thread Barry Jones
What type of functions are built in to perl for arrays? Mainly, I'm looking to find out how to see how many elements are in an array without counting them, but I was wondering about others too. What about hashes? Barry Jones DATABUILT, Inc. The Global AEC Information Company 1476 Fording

RE: Launching Perl Code in Parallel

2002-05-30 Thread Barry Jones
Are you sure that you need them run parallel? I could be wrong, but I don't think it's going to make it go any faster unless you're on a multiprocessor machine. I'm just speaking from experience with C++ threads though. -Original Message- From: Ho, Tony [mailto:[EMAIL PROTECTED]] Sent:

Getting through a deep hash

2002-05-24 Thread Barry Jones
$morekeys (keys %($spot-{$key})) {} for my $morekeys (keys (%$spot-{$key})) {} and as you can see in the line with the ### I was just trying to put it into a new hash, but that is giving me this error: Reference found where even-sized list expected Barry Jones DATABUILT, Inc. The Global AEC

HTML tables?

2002-05-22 Thread Barry Jones
Does anybody know of a module to manage generating HTML tables? Is there anything in CGI.pm? Does anyone have any tips to generating semi-complex tables? Barry Jones DATABUILT, Inc. The Global AEC Information Company 1476 Fording Island Rd. Bluffton, SC 29910 (843) 836-2166 office Life

RE: HTML tables?

2002-05-22 Thread Barry Jones
-table into $query-start_table and $query-end_table pairs and do the same for Tr (table row) by: use CGI qw( *table *Tr ); I found this very handy where I needed to use a for loop to print the result of a database query in tabular format. HTH Barry Jones [EMAIL PROTECTED] wrote in message [EMAIL

RE: simple array question

2002-05-21 Thread Barry Jones
Yes but you have to write it like this: (@main) = (@data1,@data2,@data3); -Original Message- From: A Taylor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 10:05 AM To: [EMAIL PROTECTED] Subject: simple array question Hi all, I have a very simple and probably stupid question to

Reverse sort?

2002-05-21 Thread Barry Jones
How can I sort a hash's keys in reverse order? Barry Jones DATABUILT, Inc. The Global AEC Information Company 1476 Fording Island Rd. Bluffton, SC 29910 (843) 836-2166 office Life is like a dogsled team; if you ain't the lead dog, the scenery never changes. - Lewis Grizzard -- To unsubscribe

RE: Reverse sort?

2002-05-21 Thread Barry Jones
Thanks. I ended up using reverse sort keys %hash; -Original Message- From: Hanson, Robert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 2:37 PM To: Barry Jones; [EMAIL PROTECTED] Subject: RE: Reverse sort? To expand on that, the = operator is for numeric comparisons and cmp