while ( <DATA> ) { s/\A\s+//; # Remove leading and s/\s+\z//; # trailing whitespace my @points = split /\s*\t\s*/; # split on tabs and surrounding wh +itespace print "\n\@points =\n", pp \@points; #More code here }
In reply to Re: Splitting on tabs then removing extra white space with map
by jwkrahn
in thread Splitting on tabs then removing extra white space with map
by c4onastick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |