in reply to good use of variables
my @TARGET =(0..50); foreach $target(@TARGET){ $M4_{$target}; } [download]
The my is still required, but stuck in front of $target. ;)