LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Webpage result ro a varibale (perl) (http://www.linuxquestions.org/questions/programming-9/webpage-result-ro-a-varibale-perl-833782/)

smc2 09-22-2010 08:55 AM

Webpage result ro a varibale (perl)
 
Hi there..

I have a webpage (jps) that produce a key.
How i read and store this key in a perl script.

Thanks in Advance..

jangovich 09-22-2010 09:19 AM

You can use this module (not sure if it's in the standard set of libraries).

You can do something like:
Code:

use LWP::Simple;

my $url="http://www.linuxquestions.org/";

$page_text=get($url);

Good luck.


All times are GMT -5. The time now is 01:13 PM.