in reply to Re: Win32::ODBC results in hash
in thread Win32::ODBC results in hash

I don't why, but I get syntax error. I receive the follow syntax error: "%hash("
while ($connection->FetchRow()) { %dataRow = $connection->DataHash(); %hash( $key => $dataRow{Client_ID} ); };

Replies are listed 'Best First'.
Re^3: Win32::ODBC results in hash
by drodinthe559 (Monk) on Mar 22, 2010 at 20:40 UTC
    I finally got it to work. Thanks for your help.
    my %hash = (); while ($connection->FetchRow()) { my %dataRow = $connection->DataHash(); $hash{ $dataRow{Client_ID} } = $dataRow{Contact_Information}; };