Dear all,

I am doing QC Tool for XML Document. I need to generate error log with error(including line#,Col#).

How I am following is,


Code:
while($_ =~ m/<\/h>\n

/msg) { print "Err/line/Col"; }

If I use undef $/ or $/="" means Can't get Line no/Col no of the Error. This is my actual Problem.

It's not working. It matches upto <\/h>\n only. Please suggest how to proceed.

Thanks in Advance.
vishwa Ram.