http://www.perlmonks.org?node_id=939788


in reply to Re^9: web search for certain data
in thread web search for certain data

Thanks a lot, that works fine. Now i need to increase no. of Abstract&ArtikelNr , and get data for about 700 numbers.I used split to get the id, so that i can increase and get data.Is there other way to do it.

Replies are listed 'Best First'.
Re^11: web search for certain data
by Corion (Patriarch) on Nov 24, 2011 at 07:32 UTC
    Why split and replace when you can construct your URL directly? Just increase (or set) the ArtikelNr, and recreate the URL:
    My $artikel_nr = 12345; my $url= "http://...?ArtikelNr=$artikel_nr&..."; ...