If you want to process lines in a file twice, there are two simple choices:
1. Save the lines in a array the first time you read the file, then traverse
the array as many times as you want. This works unless you have a humungous
file.
2. Call seek(,0,0) on the file handle and read the file agai
On 12/26/18 12:40 PM, Eldon DeHart wrote:
I can't figure out how to read each line of text back into my program
and assign it to the variable again.
Thanks for help in advance.
Eldon
please show us the code you have and then we can better help guide you.
also read the FAQ as that is likely co
I can't figure out how to read each line of text back into my program
and assign it to the variable again.
Thanks for help in advance.
Eldon
wbws.pl
Description: Perl program
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http