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: Perl Programming Help: Advanced:
Screen scrapping in perl


New User

Aug 6, 2009, 12:11 AM

Post #1 of 2 (2488 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?



Aug 26, 2009, 8:58 AM

Post #2 of 2 (2379 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:
I imagine there's something similar for X as well, if you're on Linux.

Good luck,



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

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