CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
access to span Elements of an HTML site


New User

Aug 5, 2013, 9:01 AM

Post #1 of 1 (8980 views)
access to span Elements of an HTML site Can't Post

hallo everbody,

i just trying to access to an span element of an html side but i don't know how i can do this. Is there any method how i can access to an html xpath of an span element?

I have tried this code below, but actually i don't want to print out a html content. I want to access to an html span element or any tag of an html side.

Is there any opportunity to do this, or an perl script example how i can get access to an element within an html dokument?

I really don't know what i shold try next...

thanks for your answers.

use WWW::Mechanize; 
my $browser = WWW::Mechanize->new();
die $browser->responce->status_line unless $browser->success;

print $browser->content();


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives