<?xml version="1.0" encoding="windows-1252"?>
<node id="1016661" title="read file from ARGV" created="2013-02-02 02:17:32" updated="2013-02-02 02:17:32">
<type id="115">
perlquestion</type>
<author id="884641">
starface245</author>
<data>
<field name="doctext">
My file word.txt contains multiple terms in the file.. Just examples in the file..
foo
bar
fish
cat

&lt;code&gt;
open (file, @ARGV[0]);
@strings = &lt;file&gt;;
&lt;/code&gt;
@ARGV[0] will open the word.txt file &lt;br&gt;
I'm trying to achieve 
@string = ('foo','bar','fish','cat');
Expect typing all the terms out, it is all in one file.
</field>
</data>
</node>
