LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 09-22-2010, 08:55 AM   #1
smc2
LQ Newbie
 
Registered: Apr 2010
Posts: 29

Rep: Reputation: 0
Question 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..
 
Old 09-22-2010, 09:19 AM   #2
jangovich
LQ Newbie
 
Registered: Sep 2010
Location: Mississauga, Ontario
Distribution: Ubuntu 10.04
Posts: 21

Rep: Reputation: 5
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.
 
1 members found this post helpful.
  


Reply

Tags
perl, script, webpage


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does string concatenation in perl result in two lines, not one? markhod Programming 5 01-12-2010 08:00 PM
any character matching doesn't yield expected result in PERL gaynut Programming 4 09-26-2008 01:04 AM
A perl code but don't have result. nsfocus Programming 2 08-05-2008 11:03 AM
perl: get quotas and print on webpage hamish Programming 1 01-19-2005 11:52 PM
Need to assign result of grep to var in PERL amytys Programming 1 09-23-2004 06:25 PM


All times are GMT -5. The time now is 11:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration