Use split:
19:20 >perl -MData::Dump -we "my $line = qq[1 10 8 6\n]; chomp $line; +my @data = split / /, $line; dd \@data;" [1, 10, 8, 6] 19:20 >
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re: Input data problem
by Athanasius
in thread Input data problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |