If all you want to do is grab the second field LCD-S you should try this: $BKSIC_MODEL[$i] = (split(' ', $line))[1]; If you're actually trying to grab all of the fields and use them to populate the array @BKSIC_MODEL then try this: @BKSIC_MODEL = split(' ', $line); see perlfunc:split
buckaduck
In reply to Re: Removing spaces, again.
by buckaduck
in thread Removing spaces, again.
by akm2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |