|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
read file from ARGVby starface245 (Novice) |
| on Feb 02, 2013 at 07:17 UTC ( #1016661=perlquestion: print w/ replies, xml ) | Need Help?? |
|
starface245 has asked for the
wisdom of the Perl Monks concerning the following question:
My file word.txt contains multiple terms in the file.. Just examples in the file..
foo
bar
fish
cat
@ARGV[0] will open the word.txt file I'm trying to achieve @string = ('foo','bar','fish','cat'); Expect typing all the terms out, it is all in one file.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||