Thanks for your reply. Yes, that's exactly what I need to solve. when I am running my script it's giving me these errors
Use of uninitialized value $polynominal in substitution (s///) at /hom
+e/vtyagi/perl/EMcheck1/pkg_EMIRcheck/EMIRcheck_tools.pm line 32.
Use of uninitialized value $polynominal in substitution (s///) at /hom
+e/vtyagi/perl/EMcheck1/pkg_EMIRcheck/EMIRcheck_tools.pm line 33.
Use of uninitialized value $polynominal in eval "string" at /home/vtya
+gi/perl/EMcheck1/pkg_EMIRcheck/EMIRcheck_tools.pm line 34.
About eval, I have used eval for my last few scripts and it worked very smooth and it's also giving me outputs for the rest of the equations. May be next time i'll keep your advice in my mind and use Math::GSL::Poly.
Do you think it could be the problem with format of that particular equation, I mean all the equation have been generated with same format, then what's the problem with this one.