Check that /usr/bin/perl is the path to where your perl modules are kept.
My system needs me to state /usr/perl/site/lib because of the way i installed it..
Maybe this may change something...
Although perhaps Kirsle would know better!!
Ok got that sorted....
Thanks for that...
Any idea how i add the link text to my url?
IE: if it said Match betting... i would like to extrac that along with my 'http://www.betfred.com/betting/index.asp?sID=194.1&nIDMK=271770.1&fbf=match&saacnt=95' for example...
Im really unfamilar with...
One more thing... how do i create the whole URL?
I notice your script gives me the /betting/ etc link
How do i add the www.domainname.com to the front?
One more thing though...
Instead of printing them out how do i add it to an array called @links?
I tried replacing the print shift->(href) with push (@links values shift->(href))
Obviously i dont know what im talking about cause that didnt work!! :)
any idea how to do it?
Thanks
nash
That was great...
Now all i have to do is work out your script!! (I'm fairly basic at perl at the moment)
It worked perfectly though!!
Thanks very much!! Your a star.....
Hi there,
Im extracing links from two betting websites.
One of them i can do with the code i have written, however the other doesnt return any data when i parse the website.
two two websites which are the $url's are:
www.betfred.com/betting/fastbetfind.asp?sKeywords=Match...
Hi All,
Im new to multithreading!!
I have created two files which access a database, each extracts a large amount of lines relating to a certain word and then processes each line.
As its a huge task im looking into multithreading.
However i have heard i must be careful to make sure that my...
Hi,
Im gathering a selection of pieces of information and i want to look at each 'selection' in turn...
for example:
Im gathering sets like below:
Url
NameA
AmountA
NameB
AmountB
NameB
AmountB
I could possibly gather up to 5 or 6 different sets.
In each set i want to compare amounts from...
Hi there,
Im building a small psub procedure to do maths.
Now its a very simple procedure however im getting errors i cant explain:
Heres the code:
my $barone = 10;
my $bartwo = 5;
my $mathage = maths($barone, $bartwo);
line 269 Sub maths{
line 270 ($betone, $bettwo);
line 271...
So in short is there anything i can do to guarentee the return of the HTML?
I can use the other modules, however when using my current version i am getting the html every now and then however not every time...
hi Guys,
Im trying to look at the html behind a website by using $mech->get($url) command using the use WWW::Mechanize;
Below is the code im using and an example output.
$mech->get($url);
$mech->success or die "Can't open page\n";
$content = $mech->content;
print...
Hi There,
Im looking at some data and extracting the bits i need using perl.
Im getting quite alot of success considering ive only started looking at perl in the last month.
However when i extract a certain string from a html page i always get things like \n and \r at the end of the string...
Thank you Raklet!!
Your post was extremely informative!
It wasnt exactly how i wanted my script to be built but hey, you guys are the experts!! :)
I shall now try to learn everything i can about www::Mechanize.
Thank you again i really appreciate it.
Nash
Hi Guys,
Im trying to build a small test function.
Im (trying to) passing a variable to the function, then have that function check the string to see if it matches anything. Once the check has finished, i want it to pass a variable back.
Heres my code:
sub Check{
my ($CheckDetail) = @_...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.