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...
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...
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) = @_...
Hi there,
Ive been learning perl for a while now, and im trying to teach myself how to scrape websites etc.
As bookmakers have a great deal of information on their sites i started there.
However I noticed they have a script which changes the display of odds.
www.stanjames.com
The change...
hi there,
I need to search a website and only extract certain links from it.
i want to search for the Url containing something like:
http://www.stanjames.com/betting/?gi
Also some of the links are about two clicks away from the start URL, how do i go into links and search that the linked...
Hi all
Im fairly new to perl so bear with me! :)
Just wondered if someone can help me..
Ive got two perl subs and want to pass variables from one to the other and then return a result.
IE:
1st sub contains this code :
@linkage = findlinkage($url,$required,$title);
The findlinkage sub is...
Hi there,
Im new to perl.
Ive manged to install perl and some modules... i want to create a connection to mysql.
Ive install DBI and DBD-Mysql
However when i try to run the below script:
#!/perl/bin/perl
use Mysql;
$database = 'sphider_db';
$user = 'root';
$password = '';
$dbh =...
I am trying to create a report from two tables in a database.
The two tables i have are sales and purchases.
The fields im taking from each are Suppliers, Model, Date, and Qty
I want to create a report that groups the results per suppiler, but when i do i get a report of numbers!!
IE...
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.