perldoc CGI
use CGI;
my $cgi = new CGI;
my $genre = $cgi -> param ('genre');
Also check search.cpan.org
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 4:31 PM
To: [EMAIL PROTECTED]
Subject: Parsing URL
How do I go about parsing a url from the browser location. For example
if I have the following url:
https://mercedissa.tmo.org/cgi-bin/req/sreq_start.pl?sid=EBSCO:buh%20(Vi
a%20SFX)&genre=article&issn=00999660&volume=242&issue=26&date=2003&atitl
e=S.O.S.%20Africa.&title=Wall%20Street%20Journal%20-%20Eastern%20Edition
&spage=A12&aulast=Waal&aufirst=Alex
As you can see there are elements like volume, genre, date, issue,
title, author.....
How do I parse this to get only the elements mentioned above? Is there a
perl module that does this?
Thanks.
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network. Comprehensive
protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]