I am stuck in a problem in Perl.
I want to read multiple columns in 1 line using while loop.
I know I can achieve this using shell script like below
cat file.txt|while read field1 field2 field3 field4
do
statement1
statement2
done
The same thing I want in Perl but don't understand how to get this.
Please help me.
Thanks in advance, Sumana
_in bash orundefin the perl version.