ah thanks!
this was a really cool answer, learned much from it. like: test your code in smaller in pieces if you have a problem. i always seem to write too much at once, leaving these error hard to find. but like i really really realy learned today: _always_
use strict; and
use warnings;.
again: many thanks to everybody who replied and devoted me. many new insights were given and i developed -i think- a new coding style. i can't say this enough: thanks!
--
to ask a question is a moment of shame
to remain ignorant is a lifelong shame