$var=[ 'MAIN' => [ 'ZOP' => ['Dev', undef, 'Con', undef, 'Test', undef, 'Exit', undef, 'New', undef ], 'AP' => ['Dev', undef, 'Con', undef, 'Test', undef, 'Exit', undef, 'New', undef ], 'Exit' => undef, ] ];