Re: Processing a web page (or looping over a multi line string)



I found a solution. Here's what I ended up doing:

my $content = get $url;
die "Couldn't get $url" unless defined $content;

while ($content =~ m/<td>/g) {
#lots of pos hacking with m/?/g

.