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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Screen scrapping in perl

 



novicetillnow
New User

Aug 6, 2009, 12:11 AM

Post #1 of 2 (1616 views)
Screen scrapping in perl Can't Post

Hi All,

I need some idea to do screen scrapping. I have a GUI and need to extract numbers from that GUI for every few minutes.

I am not an expert in Perl but have little knowledge.

Can some one help me with that?

Thanks,
Anusha


1arryb
User

Aug 26, 2009, 8:58 AM

Post #2 of 2 (1507 views)
Re: [novicetillnow] Screen scrapping in perl [In reply to] Can't Post

Hi novicetillnow,

Is the UI in question a webpage or a traditional GUI application? If a webpage, the proper approach is to fetch the page using the LWP and then parse it using an HTML Parser package like HTML::TreeBuilder.
If the UI is a traditional application GUI, the technique is platform-dependent. If your platform is Windows, you can do it with the Win32::API module.
Check out this thread at perlmonks for an example: http://www.perlmonks.org/?node_id=674214
I imagine there's something similar for X as well, if you're on Linux.

Good luck,

Larry

 
 


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

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