Hi Perlmonks,
I have a text file (data.txt) having the values of a few variables as given below:
x1=3.8; x2=5.8; x3=4.1; y1=10.1; y2=11.6; y3=12.7I am interested to enter these data in a perl program for doing further calculations like x1*y1, x2*y2, x3*y3 or (x1*y1)/x2 etc. Which perl syntax/chapter should I read so that I can enter the values of the variables from the data file (data.txt) into the perl program for doing further calculations?
In reply to How can I enter the data of different variables from a text file into a perl program? by supriyoch_2008
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |