Easy...
use strict; use autodie; open my $infile, '<', '/home/tai/tmp/sm-error-report.txt'; my @words = split /\W+/, do { local $/ = <$infile> }; print "$_\n" foreach @words;
In reply to Re: putting text into array word by word
by tobyink
in thread putting text into array word by word
by jms53
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |