%a = (%a)[0 .. $n-1]; [download]
In reply to Re^2: Delete all hash keys except for n of them by Anonymous Monk in thread Delete all hash keys except for n of them by Anonymous Monk