http://www.perlmonks.org?node_id=1042149


in reply to Reading and writing data to text file and to table

$report{}[0]="DOB,Name,Empid,salary,Gross_salary,Department,Company"; $report{}[1]="Month,NET_Salary,";

That's a syntax error. What did you actually mean?