![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, Mysql field names are case insensitive, but fetchrow_hashref requires you to use the exact field case. I guess I could resolve this by looping thru the hash for $key (keys %hashref) { $val =$hashref{$key}; $newhash{lc $key}=$val; } But what other options do I have? (SORRY I realise this question must have a high Chestnut count for this NG) zzapper (vim, cygwin, wiki & zsh) -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips |
#3
| |||
| |||
|
|
Try searching for 'FetchHashKeyName' => 'NAME_lc' in the DBI docs. uru Dave David |
![]() |
| Thread Tools | |
| Display Modes | |
| |