Okay I have only recently started learning perl, and what I am aiming to do is to update an old perl program I used to use so that it still works.
The old perl program is H2SA or halo 2 stats aggregator, which basically would download all the games results pages off of bungie and extract your personal stats and present them as a website. But the owner has not updated this in ages. What I am trying to do is to get it to work with halo 3. Since H2SA the bungie website has changed so it has become obsolete.
I've got some of it to work in that I've got it to download the new pages but I am struggling in finding a way for it to take out the GameIds and put them into a notepad file.
I know how to check for a string appearing in the files, but I don't know how I would transfer only a part of that string into a notepad file. I can't put the whole string there as the whole string is:
"gameid=27968128&"
All I want returned is the number, in this case 27968128. Is there a way to do this? If so can someone please tell me how?
Thanks for any help.
Tom
The old perl program is H2SA or halo 2 stats aggregator, which basically would download all the games results pages off of bungie and extract your personal stats and present them as a website. But the owner has not updated this in ages. What I am trying to do is to get it to work with halo 3. Since H2SA the bungie website has changed so it has become obsolete.
I've got some of it to work in that I've got it to download the new pages but I am struggling in finding a way for it to take out the GameIds and put them into a notepad file.
I know how to check for a string appearing in the files, but I don't know how I would transfer only a part of that string into a notepad file. I can't put the whole string there as the whole string is:
"gameid=27968128&"
All I want returned is the number, in this case 27968128. Is there a way to do this? If so can someone please tell me how?
Thanks for any help.
Tom