in reply to Re^3: Hash arrays
in thread Hash arrays

I'm yet to prepare,that is just code snippet to make you understand what i need to do:
$stmnt = :"select acct_nbr,cycle_cd,cycle_end_dt from usage_rcvd" ; $sth = dbh->prepare($stmt); while ($sth->fetch()) { $sth->bind_col(1,$acct_nbr); $sth->bind_col(2,$cyc_cd); $sth->bind_col(3,$cyc_end); here I need to store them in hash array: key is $acct_nbr values are $cyc_cd and $cyc_end }

Replies are listed 'Best First'.
Re^5: Hash arrays
by AnomalousMonk (Archbishop) on Dec 26, 2012 at 12:22 UTC

    Can you say whether and how the reply of 2teez does not address your questions? (Please do not repeat the OPed pseudo-code snippet again.)