Odp: cgi text color in tables

2003-01-20 Thread Skorpion
finally i made the code work for me :) - thanks for inspiration - i own you a code - hope you can do it easiest way - i am just begginer - so it's likely the simplest way to achive the same result the code was: $sth->prepare(SELECT * FROM table); $sth->execute; $ref = $sth->fetchall_arrayref; pri

FW: naming a variable as a numeric value

2003-01-20 Thread Ed Sickafus
Thanks for the clarification. I was misunderstanding how a HoH works. Ed -Original Message- From: Ed Sickafus [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 19, 2003 5:18 PM To: [EMAIL PROTECTED] Subject: naming a variable as a numeric value I asked in a previous query ... Is

Installing Time::HiRes module

2003-01-20 Thread Nazary, David
Hi, I am trying to install Time::HiRes module and I am getting the following error: C:\>ppm PPM interactive shell (2.1.6) - type 'help' for available commands. PPM> install Time-HiRes Install package 'Time-HiRes?' (y/N): y Installing package 'Time-HiRes'... Error installing package 'Time-HiRes':

Re: Installing Time::HiRes module

2003-01-20 Thread WilliamGunther
In a message dated 1/20/2003 12:18:33 PM Eastern Standard Time, [EMAIL PROTECTED] writes: > I am trying to install Time::HiRes module and I am getting the following > error: > > C:\>ppm > PPM interactive shell (2.1.6) - type 'help' for available commands. > PPM> install Time-HiRes > Install pa

Hash names in a HoH

2003-01-20 Thread Ed Sickafus
Although you all are trying, I'm still not getting it -- namely, how to use the hash names in a HoH. My reference shows the following template for a HoH: outermost hash | inner level of hashes | | innermost key/value pairs | |

Re: Hash names in a HoH

2003-01-20 Thread Wiggins d'Anconia
We will get you there, eventually, ;-)... Ed Sickafus wrote: Although you all are trying, I'm still not getting it -- namely, how to use the hash names in a HoH. My reference shows the following template for a HoH: outermost hash | inner level of hashes | | innermo

Re: Hash names in a HoH

2003-01-20 Thread Dave K
Ed, A 'cleaner' approach. #!/usr/bin/perl -w use strict; my %hash = ( fruits => { favorite => "apples", 'second favorite' => "oranges", }, vegetables => { favorite => "corn", 'second favorite' => "peas", 'least favorite' => "turnip", }, meats =>

Re: Hash names in a HoH

2003-01-20 Thread Wiggins d'Anconia
Dave K wrote: Ed, A 'cleaner' approach. The central (as opposed to key) point: In the expression: $hash{$ohk}->{$ihk} $hash{$ohk} is the _value_ of a hash, but that _value_ is a reference to a hash, so we can use the '->' syntax. Think of: $hash{$ohk}-> as identifying that (pesky anonymous)

Date

2003-01-20 Thread Mad Hatter
I am writing a cgi script to run as a cron job. when it runs i need the date of 'one year ago today' in the format '-MM-DD' to be stored in a variable to be used later in the script. I am about as dumb as wet dirt when it comes to cgi. Can someone please help me with this? Thanks! ___

Re: Installing Time::HiRes module

2003-01-20 Thread Octavian Rasnita
I've tried this method, but it doesn't work for Perl 5.8 but only for Perl 5.6.1 I've tried more modules downloaded from ActiveState. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTEC