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
In reply to Re^3: array with s///g command
by Anno
in thread array with s///g command
by convenientstore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |