in reply to ignoring the first element of an array
You may a) use a flag variable b) omit foreach(@array) in favour of foreach(0 .. @array-1) or you could c) use a slice:
foreach my $well ( @derivate[ 0 .. @derivate-1 ] ){ ... [download]
As you like it.