push @{$_ & 1 ? \ @odd : \ @even }, $_ for @nums;