my @TARGET =(0..50); foreach $target(@TARGET){ my $M4_${target}; } [download]
In reply to good use of variables by steph_bow