in reply to Re: Re: Grabbing part of an HTML page
in thread Grabbing part of an HTML page

kingdean, I updated my code to include my @files..., and it works on my test files. That's what I get for adding in use strict at the last moment, and not using it from the start, as we all should!

Perhaps you could show us your test files?

If you use a URL instead of a local path, it will not work - the open function does not get web pages. You would use LWP::Simple or similar to read the page for you, but that is something you can easily find elsewhere on this site.