How about
$VAR1 = [ map { 'ARRAY' eq ref( $_ ) ? @$_ : $_ } @$VAR1 ]; [download]
In reply to Re: Remove one level from array by hdb in thread Remove one level from array by Anonymous Monk