Hallo!
Warum nicht
@arrayneu = grep { $_ > 3 and $_ < 8 } @array;
Gruß. FiFo\n\n
<!--EDIT|FIFO|1138990986-->
Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? -- Brian Kernighan: "The Elements of Programming Style"