What have you tried? What didn't work? What are you utilizing as learning resources? Much of the necessary syntax for your task is discussed in Files and I/O (perlintro), perlopentut and I/O Operators (perlop).
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In reply to Re: I try to write script which try to open a text file and read first line from it
by kennethk
in thread I try to write script which try to open a text file and read first line from it
by newby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |