in reply to Re^2: Scrapper outputing error -w
in thread Scrapper outputing error -w

You don't show us at all what path your data takes from get(...) until it gets to HTML::PullParser, where you get a warning (or two).

What steps have you taken to confirm that you get the data you expect, and that you pass on the proper data down to HTML::PullParser in both cases?

Please help us to help you better by posting a self-contained small program that exhibits the same failure. That way, we can more easily replicate your situation instead of taking guesses.