Re: Can't coerce array into hash at - error

2004-06-17 Thread Werner
This is not the full source code, here is the full source or what is needed from the top #!/usr/bin/perl use DBI; use Switch; use CGI qw(:standard); cgi_header_line(); kings_header(); if ($ENV{'SCRIPT_NAME'} =~ m,\host_update.cgi$,) { mit_header(); standard_body(); } $db="wotdb"; $host="arg

Re: Can't coerce array into hash at - error

2004-06-17 Thread Wiggins d Anconia
> Hi All, > > I am trying to fill a popup_menu with values retrieved from my database > and get the following error. Can't coerce array into hash at. As this is > the first time I'm doing this, could someone please assist in telling me > where I'm going wrong. 'at' what? That would help. Per

Can't coerce array into hash at - error

2004-06-17 Thread Werner Otto
Hi All, I am trying to fill a popup_menu with values retrieved from my database and get the following error. Can't coerce array into hash at. As this is the first time I'm doing this, could someone please assist in telling me where I'm going wrong. $db="wotdb"; $host="test"; $port="436"; $useri