#!/usr/bin/perl use strict; my @array; while (my $line = <DATA>) { chomp $line; my @points = map{ s/\s+// } split /\t/, $line; push @array, \@points; }
In reply to Re: Splitting on tabs then removing extra white space with map
by mhearse
in thread Splitting on tabs then removing extra white space with map
by c4onastick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |