thanks for the help (and for not laughing! ). It was the solution. But... now there's a new message:
ERROR : array reference out of bounds!
Line: 6

regards,

jeroen