On Friday, June 8, 2012 at 6:49 AM, Dmitry Korzhevin wrote: What makes you think it's not working? Yes, you are getting this warning: > DBI::db=HASH(0x1e40ae0)->disconnect invalidates 1 active statement > > handle (either destroy statement handles or call finish on them before > disconnecting) at check2.pl (http://check2.pl) line 17.
which you can avoid by just removing the '->disconnect()' call, or calling '->finish()', like the message tells you. But your output -- the hashref from ->fetchrow_hashref -- is right here: > HASH(0x1e40258) chrs, john. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/