in reply to Re: Reading Filesin thread Reading Files
my @words = split/\s+/, $word;
Yes, like that if your input is split's default arugment $_. Or in your case:
my @words = split/\s+/,$word;
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (293 votes). Check out past polls.