|
Re: Slow WWW::Mechanize
|
Jay Strauss
|
Aug 26, 2003 06:34 PDT
|
| | This is incredibly dangerous code. What if that regex doesn't
match? You get the previous round's $1. Ugh!
|
That's because I'm a risk taker, I LIVE, on the edge.
Point taken, I changed the code to:
if ($r->{rows}[1]{cells}[$i++]{data} =~ />([^<]+)</) {
$data{$_} = $1;
$data{$_} =~ s/\ //g;
}
I think this is what you mean
Jay
|
|
 |
|