To: Barry 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,
>
ng and what
have you 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/\{\{(.*?)\}\}/\$1\<\/b\>/g;
Barry Jones
DATABUILT, Inc. The Global
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 Fo
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:
pts:
for my $morekeys (keys $spot->{$key}) {}
for my $morekeys (keys %$spot->{$key}) {}
for my $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
the $query->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 PRO
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
"Li
ey 2 => Value
Key 3 => Array
[0] => Value1
[1] => Value2
Key 4 => Value
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 tea
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
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."
- Le
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
11 matches
Mail list logo