while(<FD>) { chomp; my @array=split(/\s/); # or /\s+/ if you want to collapse whitespa +ce ... }
--
Me spell chucker work grate. Knead grandma chicken.
In reply to Re: Reading a Line into an Array
by yakko
in thread Reading a Line into an Array
by scrubber
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |