in reply to Re^2: array with s///g command
in thread array with s///g command
into one:my @array2 = @array1; s/\s+//g for (@array2);
The tr/// here only treats blanks instead of general white space, but that's easily changed if necessary.tr/ //d for my @array2 = @array1;
Anno
|
|---|