print join(", ", @array) =~ s/(\d+, ){3}/$&\n/gr;