OK, I'm lost.  Can you tell me (us) what exactly you are trying to
accomplish and why.  Right now I can't figure this out, but maybe someone
else can shed some light.

Why is this used as an argument {field1=>1, field2=>1}

and what is accomplished with this...

$$res{field1}{field2} = $field3;


Ilya

-----Original Message-----
From: raptor
To: [EMAIL PROTECTED]
Sent: 9/5/01 8:26 AM
Subject: selectall_hashref()

hi,

I want a litle more extended sytax for selectall_hashref(), or if u can
tell
me how the achieve this :

my $Query = qq{SELECT field1, field2, field3};
my $res = $dbh->selectall_hashref($Query, {field1=>1, field2=>1}, %attr)
so as a result i get the following HoH :

$$res{field1}{field2} = $field3;

gotcha the two fields are used as a keys of hash-of-hash structure...Or
more
genaraly the ability for more than one fields content to be used as KEYS
...
Thanx in advance...
=====
iVAN
[EMAIL PROTECTED]
=====

Reply via email to