in reply to Re: Fetching unique info
in thread Fetching unique info
BUT I really need to fetch the information where it is split on two lines:use LWP::Simple; my $url = 'www.website.com'; my $content = get($url); my ($number) = $content =~ /'(\d{3})'\)">San Francisco (Manager)/; print "$number\n";
I tried both these and still didnt get it to work:<A HREF="JavaScript:AFunction('AA', 'B','0','Project','113')"> San Francisco (Manager)
and:my ($number) = $content =~ /'(\d{3})'\)">\nSan Francisco (Manager)/;
my ($number) = $content =~ /'(\d{3})'\)">San Francisco (Manager)/s;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Fetching unique info
by cbro (Pilgrim) on Jun 05, 2003 at 18:19 UTC | |
by Anonymous Monk on Jun 05, 2003 at 18:29 UTC | |
by cbro (Pilgrim) on Jun 05, 2003 at 18:34 UTC |