Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: NashTrump
  • Order by date
  1. NashTrump

    LWP:: simple error

    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!!
  2. NashTrump

    Cant extract links!!

    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...
  3. NashTrump

    Cant extract links!!

    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?
  4. NashTrump

    Cant extract links!!

    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
  5. NashTrump

    Cant extract links!!

    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.....
  6. NashTrump

    Cant extract links!!

    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...
  7. NashTrump

    MultiThreading - no idea how to begin!!

    Ishnid.... please can you help me out here!!!
  8. NashTrump

    MultiThreading - no idea how to begin!!

    As for naming variables dynamically; ishnid, if you would? What does that mean??
  9. NashTrump

    MultiThreading - no idea how to begin!!

    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...
  10. NashTrump

    Array or a Hash???

    Hiya Kevin, Yes it is real code obviously minusing the real url and names etc and each of the lines obviously ends with a comma.
  11. NashTrump

    Array or a Hash???

    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...
  12. NashTrump

    Error in syntax

    Thank you that worked great!! It was the capital S that knackered me!! So irritating when i miss something like that Thanks again Nash
  13. NashTrump

    Error in syntax

    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...
  14. NashTrump

    Cant get Content from URL!

    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...
  15. NashTrump

    Cant get Content from URL!

    Hi there, i also sometimes get this: HTTP::Response=HASH(0x2a0c32c) have absolutly no idea what this means!! Regards nash
  16. NashTrump

    Cant get Content from URL!

    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...
  17. NashTrump

    Stripping String of \n

    Thanks Paul!! thats sorted it!. Simple regular expression ay... i'll learn up on that.. Thanks for pointing me in right direction.
  18. NashTrump

    Stripping String of \n

    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...
  19. NashTrump

    Activating Script on another Url

    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
  20. NashTrump

    String found where operator expected

    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) = @_...

Part and Inventory Search

Back
Top