CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
accessing URL with my small perl program


New User

Jun 10, 2007, 11:42 PM

Post #1 of 2 (502 views)
accessing URL with my small perl program Can't Post

I have got a small problem as a starter.I have written a code that goes to a website and take the content of that website as input.i mange to write a code that does what i want.The difficulty is the webaddress is changing every day.What it changes is the last figure in the URL.say like the last figure could be say 1,2,3 or 4.So my plan is to make the code generate all possible URL's and check for the right one.It will find the right one only if the right one is at the end and there is high probablity that the right one is not always at the end.
How I tried is

system "lynx -dump www......1";
system "lynx -dump www.....2";
system "lynx-dump www....3";

Do you have any idea on how to make it check everything till it gets the right one whether it is located at the end or not?
I really apprciate your help


Jun 11, 2007, 11:59 AM

Post #2 of 2 (499 views)
Re: [mihiret] accessing URL with my small perl program [In reply to] Can't Post

generating all possible URLS could number in the tens of thousands. Are you sure there is no pattern to how the url changes?


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives