You will get# perl -MData::Dumper -e ' > $str = " STRING "; > $str =~ s/\s//g; > push(@ar,$str); > print Dumper \@ar;'
Is this what you want?$VAR1 = [ 'STRING' ];
In reply to Re: Nagging space after splitting
by tchatzi
in thread Nagging space after splitting
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |