my @arr = (q{ one }, q{ two three }); for (@arr){ my $trimmed = join q{ }, split; printf qq{*%s*\n}, $trimmed; }
*one* *two three*
In reply to Re: Trimming whitespaces methods
by wfsp
in thread Trimming whitespaces methods
by harishnuti
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |