The dot metacharacter (".") does not match newlines. See perlre for the /s modifier.
As an aside, your code is not really helpful as it includes a reference to a module that I don't have, ID::Utilities, and calls some method in there. If you're certain that the ->get method returns the correct HTML, why reference that method at all? Simply directly assign the HTML value in a test program, if only to eliminate misbehaviour of the ->get method, or of the remote end.
In reply to Re^3: Parsing and searching HTML code
by Corion
in thread Parsing and searching HTML code
by jayto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |