Help for this page
use strict; use warnings; ... my @clean = map { s/[\s,]//mg; $_ } @array2; is_deeply \@clean, \@array1;
use strict; use warnings; ... s/[\s,]//mg for @array2; is_deeply \@array2, \@array1;