Saturday, 31 August 2013

Skip the method dom->find() if its fails

Skip the method dom->find() if its fails

I am using Mojo::DOM for parsing HTML content.The issue i am facing is the
program terminate if the function dom->find() fails,Its showing a error
cannot locate object error . how can i skip the error and continue the
execution of the program. Please give me some suggestions.

No comments:

Post a Comment