C:\Users\x>cd desktop C:\Users\x\Desktop>inv2.pl Enter the Number of Rows i.e. 4 here: 4 Please type the filename(.txt) i.e. d1.txt: d1.txt The contents of input matrix file are (array m2): $m2[0]=[3,2,1,1]; $m2[1]=[1,0,2,2]; $m2[2]=[4,1,3,3]; $m2[3]=[1,2,3,4]; Illegal division by zero at C:/Perl/lib/math_module.pm line 60, line 4.