@myNames = ([1,1,1],[2,2,2],[3,3,3]); @gN = grep{2 < @{@myNames[1]}} @myNames;