link text retrieval

Discussion in 'Perl Misc' started by byung, Sep 13, 2011.

  1. byung

    byung Guest

    I am using ..

    $mech->find_all_links( ... )

    in www::mechanize in order to find all links in a page.

    Now how can I retrieve the link text in addition to url of the link??

    suppose there is a link - click_here, with url - www.clickhere.com.

    Using $mech->find_all_links( ... ), I can find www.clickhere.com, but
    how can I retrieve the text 'click_here' also??

    Please help. will deeply appreciate.

    Thank you.
     
    byung, Sep 13, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. George Sew
    Replies:
    2
    Views:
    488
    bruce barker
    Feb 12, 2004
  2. =?Utf-8?B?U3dheQ==?=

    Form information retrieval

    =?Utf-8?B?U3dheQ==?=, Apr 18, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    347
    Pete Beech
    Apr 18, 2004
  3. Kevin Spencer

    Re: Link Link Link DANGER WILL ROBINSON!!!

    Kevin Spencer, May 17, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    862
    Kevin Spencer
    May 17, 2005
  4. Edward wijaya
    Replies:
    0
    Views:
    110
    Edward wijaya
    Nov 1, 2004
  5. temoor

    plain text retrieval from a webservice

    temoor, Apr 7, 2006, in forum: Javascript
    Replies:
    1
    Views:
    97
    Laurent Bugnion
    Jun 9, 2006
Loading...

Share This Page