use Data::Dumper; my @test=("aaa bbbbb cccc"); my @test = map { s/\s//g; $_ } @test; print Dumper(\@test);
$VAR1 = [ 'aaabbbbbcccc' ];
In reply to Re: spliting new lines and spaces
by Roger
in thread spliting new lines and spaces
by bory
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |