Click here to get back home

LWP:Simple/LWP:UserAgent (newbie)

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
LWP:Simple/LWP:UserAgent (newbie) Anna 02-24-2005
Posted by Anna on February 24, 2005, 12:11 pm
Please log in for more thread options


Hello,
To start off with I need to explain that I am definately a novice at
using Perl. I have inherited a couple of access databases that call on
perl scripts to scrape data from the internet. They were working just
fine until the beginning of this week. From reading posts on here and
doing some investigation on my own I have learned that the company I
work for has changed how the internet is accessed and now uses a proxy
server. (Again, I am a bit of a computer novice and don't understand
all the technical jargon) I am trying to learn if there is an easy way
to fix the code on my programs so they will be able to work again.
Currently all the files that ususally contain teh data as it is scraped
from the web come back blank.

I think I need to use the LWP:UserAgent but i dont understand it very
well When it talks about environmental variables is it talking about
the server or my computer?

Any help someone could provide would be greatly appreciated and I
appologize in advance for my lack of general knowledge of computers and
perl. thank you

Anna



Posted by John Bokma on February 24, 2005, 10:43 pm
Please log in for more thread options


Anna wrote:

> I think I need to use the LWP:UserAgent but i dont understand it very
> well When it talks about environmental variables is it talking about
> the server or my computer?

Your computer, see:

http://search.cpan.org/~gaas/libwww-perl-5.803/lwpcook.pod#PROXIES

and:

http://search.cpan.org/~gaas/libwww-perl-5.803/lib/LWP/UserAgent.pm
under "$ua->env_proxy"


--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html



Similar ThreadsPosted
newbie LWP::UserAgent questions August 13, 2006, 8:10 pm
Not able to use LWP::UserAgent::Authenticated December 26, 2005, 9:11 pm
LWP::UserAgent and HTTP_ACCEPT January 24, 2006, 7:03 pm
A pipe or FH equivalent of LWP::UserAgent ? February 25, 2005, 3:12 pm
URGENT: no response - LWP::UserAgent February 26, 2005, 12:22 pm
Using HTTPS with LWP::UserAgent = Bad Service March 30, 2005, 6:45 am
installing LWP::UserAgent on windows June 21, 2005, 10:37 pm
CGI & LWP::UserAgent - forwarding cookies - how? January 15, 2007, 3:25 pm
LWP::UserAgent hangs up infinitively February 26, 2007, 9:05 am
LWP::UserAgent credentials netloc and realm May 27, 2005, 6:56 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap