Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#####Pseudo Code ends...<br> $datainput=DBI->connect<br>("DBI:mysql:database=DATA;host=localhost... +...)<br> foreach ($hash1($key1))<br> {<br> foreach ($hash2($key2))<br> {<br> if $hash1($key1)==$hash2($key2)<br> {<br> $data1=$hash2($value1)-$hash1($key2);<br> $data2=$hash2 ($value2)-$hash2(key2);<br> $datainput->do("INSERT INTO DATA VALUES($data1, $data2)<br> }<br> }<br> }<br> $datainput->disconnect();<br> exit;<br>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hash of Array Comparision...
by chromatic (Archbishop) on Dec 01, 2001 at 12:08 UTC | |
|
Re: Hash of Array Comparision...
by jlongino (Parson) on Dec 01, 2001 at 12:27 UTC |