in reply to Referencing bound variables

well you declared %data in my ($dbh, $sth, @datetime, @date, $name, %data); but you never assign values to it, thus it is empty.

holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: Referencing bound variables
by hok_si_la (Curate) on Feb 11, 2005 at 22:00 UTC
    Doesn't $sth->bind_columns( \( @data{ @{$sth->{NAME_lc} } } )); assign values to %data?