I'm trying to see how Alex used Altavista.cgi to pull special content off of altavista. Anyway, I tried re-modifying to suit my needs. What I want to know is how to extract info between <pre> </pre> tags. Shouldn't it be something like this:
while ($results =~ m#<pre>([^<]+)</pre>#sog) {
($description) = ($1);
$output .= qq~<pre>$description</pre>~;
}
Code:
if ($total) { while ($results =~ m#<pre>([^<]+)</pre>#sog) {
($description) = ($1);
$output .= qq~<pre>$description</pre>~;
}