This worked as well. I will stick to Corion's suggestion because i would like to be able to understand my code when I will have to read it next time ;-)
Thanks a lot for the comment.
Comment on Re^2: How to get variable evaluation in anonymous subroutines declaration