in reply to DBI::mysql error handling

For what it's worth, you should use strict and use warnings:
my $hash_ref; ... $hashref = $dbh->selectall_hashref($sql, 'filename', ...

Replies are listed 'Best First'.
Re: [Tangent] Re: DBI::mysql error handling
by svenXY (Deacon) on Mar 14, 2005 at 09:22 UTC
    I do, just skipped it to keep the code short.