http://www.perlmonks.org?node_id=239851


in reply to Re: sql query subroutine check
in thread sql query subroutine check

i'm using hashes quite frequently to map changing file_names but never thought about using it for my database column. so sometimes, i carry with me strange names for field names .. their use has changed in between .. one that was thought for news_id .. is used for position in the referenced cat ;)

my %column_map = ( position => 'news_id', );

makes this code easier to read for shure
/me is taking a serious look at Class::DBI
thx ovid for your pointer .. :-))) maksl