comapring versions

2006-09-26 Thread ukhas jean
Hi,   I had to compare two version nos. eg. 2.9.10.2 and 10.0.0.1 how do i do it in perl?? I was unable to find a function for it ... the only way i can think is using if-loops ... is there a better way???   Regards, Ukhas Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and

RE: Hash allocation via keys(%hash) -- space vs. efficiency

2006-09-26 Thread Roode, Eric
Nonsense. Perl is (overall) a slow, bulky language --- I'll be the first to admit that --- but there is nothing wrong with learning the limitations and strengths of the execution environment, and learning where and how one can make efficiency improvements, and how much (or how little) of a differe

Hash allocation via keys(%hash) -- space vs. efficiency

2006-09-26 Thread Deane . Rothenmaier
Gurus, I'm tinkering with some key hashes, trying to balance hash efficiency (as measured by the number of collisions) against memory usage. I have a script that loads my hashes from files and then runs Dump (from Devel::Peek) on them, so I can see what's happening. But I have one niggling questi

RE: perl-oracle connectivity query

2006-09-26 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ukhas jean Sent: 26 September 2006 05:34 To: Active Perl Subject: RE: perl-oracle connectivity query > Hello Brian et al ... > > If u see my code i am using the DBI.pm module ... y do i need to have DBD::Oracle.pm installed then??? (

Re: perl-oracle connectivity query

2006-09-26 Thread Miguel Angelo
Hi Brian, At work i used very day perl and oracle (8i and 9), for database access the standard method is DBI, but dbi depends on a DBI database driver, a database driver for oracle, another for mysql, another for db2, another for OBDC, etc). To acess Oracle you need: 1. Proper installed and c

Re: Hash allocation via keys(%hash) -- space vs. efficiency

2006-09-26 Thread Gisle Aas
[EMAIL PROTECTED] writes: > I'm tinkering with some key hashes, trying to balance hash efficiency (as > measured by the number of collisions) against memory usage. I have a > script that loads my hashes from files and then runs Dump (from > Devel::Peek) on them, so I can see what's happening. B

RE: Hash allocation via keys(%hash) -- space vs. efficiency

2006-09-26 Thread Thurn, Martin
If you're *that* obsessed with efficiency, you should NOT be using Perl. - - Martin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 11:10 AM To: activeperl@listserv.ActiveState.com Subject: