The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Format the result driven from a SQL Query little_wonder Shell Programming and Scripting 8 06-24-2009 03:24 AM
Redirecting sql select query result to txt file dolphin123 Shell Programming and Scripting 1 06-25-2008 01:20 AM
Redirecting sql select query result to txt file dolphin123 Shell Programming and Scripting 1 06-23-2008 06:13 AM
pass result from one query to another u263066 Shell Programming and Scripting 1 08-15-2006 01:46 PM
passing result of query to a varibale in ksh script ammu Shell Programming and Scripting 2 07-27-2006 01:05 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-01-2009
chavanak chavanak is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 1
Smile Using Perl to query a website and parse the result

Hi,
I am a JAVA programmer and I have no idea about perl. I did use it a long time ago and I don't even remember the basics. So here is my problem:

In my work, I am supposed to build a simple program that opens a website (Gene Ontology)and passes my query and returns the result into a file. The program input into the terminal looks like this :
Code:
 program.pl -s m|c|b -f filename
Here m, c and b are three types of queries and only one type will be passes into the program.
Can someone help me out? I have no idea who this can be done in perl and I can't use JAVA or python for this. The output has to be piped into a file.
  #2 (permalink)  
Old 08-01-2009
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,944
Try,

LWP::UserAgent - Web user agent class - search.cpan.org
Reply

Bookmarks

Tags
perl, search

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0