Moin,

I wrote a simple http proxy. This script have some configuration entries like

my $remoteProxy = 'http://localhost:8080/';
$ENV{'http_proxy'} = $remoteProxy;
.
.
# initialisation
my $proxy = HTTP::Proxy->new( port => 3128 );
$proxy -> host("127.0.0.1");


I want to get some of these values (remoteProxy, the port and the IP address 
and some things more) from a configuration file. What is a good way to do 
this? What is a good format for this file? Human readable and easy to parse?

Thanks
-- 
|Michael Renner      E-mail: michael.ren...@gmx.de  |
|D-81541 Munich      Germany        ICQ: #112280325 |
|Germany             Don't drink as root!      ESC:wq

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to