in reply to Re^2: refreshing a page/session without re-submitting search
in thread refreshing a page/session without re-submitting search
You can do something similar to get the numPages value but you shouldn't need to re-request the page.my $response = LWP::UserAgent->request($request); my $total_hits = 0; if($response->content =~ m/var numHits = '(\d+)'/){ $total_hits = $1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: refreshing a page/session without re-submitting search
by seaver (Pilgrim) on Sep 22, 2004 at 18:10 UTC | |
by bpphillips (Friar) on Sep 22, 2004 at 18:35 UTC | |
by seaver (Pilgrim) on Sep 23, 2004 at 15:58 UTC |