Hello PerlStart, and welcome to the Monastery!
open('FILE',$srs) or die $1; while(<FILE>)
Let’s assume for the moment that $srs is a text file. Here are some things to consider:
open(my $FILE, '<', $srs) or die $!;
But $srs is not a text file, it’s Word file, so you can’t read it this way at all! You need a suitable CPAN module. Not my area of expertise, but a quick search turns up Text::Extract::Word, which looks promising.
Athanasius <°(((>< contra mundum
In reply to Re: Word and Excel
by Athanasius
in thread Word and Excel
by PerlStart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |