in reply to Re^2: Reading Files
in thread Reading Files

Yes, like that if your input is split's default arugment $_.
Or in your case:
my @words = split/\s+/,$word;

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me