marcpascual has asked for the wisdom of the Perl Monks concerning the following question:

dear monks, im very new to perl and im having problems with a module. my comptuer is behind a firewall and i dont know how to work this problem out. i tried passing my proxy parameters (ip, port, user, pass) to my environment variables but it doesnt seem to work. heres the almost exact code from the module manual:
use Mail::Client::Yahoo; my $y = Mail::Client::Yahoo->login( username => 'user', password => 'passwd', secure => 0, ); $y->select_folder('Inbox'); print $y; my $m = $y->message(0); print $m; my @ids = $y->message_list(); print @ids; $y->message($ids[0]); print $y; # $y->delete_message(0); $y->logout();
the error i keep on getting is: Login failed on Front Page Retrieval: Proxy Authentication Required at /usr/lib/perl5/site_perl/5.8.6/Mail/Client/Yahoo.pmline 134.

Replies are listed 'Best First'.
Re: Mail::Client::Yahoo problems
by izut (Chaplain) on Sep 23, 2005 at 13:33 UTC
    You should define an environment variable called http_proxy like this:
    export http_proxy=http://user:pass@proxy:3128/


    Igor S. Lopes - izut
    surrender to perl. your code, your rules.