Well thats not detailed enough to be pseudocode, but
OK, if you really want to stick with that strategy, here it is:
I suggest a refresher of perlsub/perldata. | [reply] [d/l] [select] |
Hi,
thanks for all the help. I definitely will do a refresher of perlsub/perldata.
I built your suggestions into my code.
And here's the output:
test@testmachine:~/test/DataSyncTool> ./data_sync_tool.pl
16:12:2008 09:14:13, DEBUG: Programm gestartet...
16:12:2008 09:14:13, DEBUG: updatePLZInformationen => Data of plz tabl
+e:
1 => 01001 => Dresden => Dresden => => 1 => 3
2 => 01002 => Dresden => Dresden => => 1 => 3
3 => 01003 => Dresden => Dresden => => 1 => 3
4 => 01004 => Dresden => Dresden => => 1 => 3
DataSyncTool: HASH(0x86d81f8) HASH(0x8740d38) HASH(0x88058c0) HASH(0x8
+805920)
Yeehah: DatenService=HASH(0x8743344)
Yeehah: DatenService=HASH(0x8743344)
16:12:2008 09:14:13, DEBUG: updatePLZInformationen => FEHLER:
Not an ARRAY reference at data_service.pm line 161.
16:12:2008 09:14:13, DEBUG: updatePLZInformationen => Fertig.
The error message is in the subroutine format_plz_infos(): foreach(@$plz) {
...
}
I'm no perl specialist, unfortunately, and I surely have a lack of basics, but I really need some advice to get this client working... :-/
Thanks in advance,
Thion | [reply] [d/l] [select] |
Do it again, this time just cut/paste and add comments.
Do not make any other modifications.
| [reply] |