in reply to Re: IO::Socket::Socks::Wrapper - settings from variables
in thread IO::Socket::Socks::Wrapper - settings from variables

unfortunately I did not explain right - I am trying to load parameters for "use" from configuration file, using Config::Simple module. The call to Config::Simple will be like
my $cfg = new Config::Simple($configuration_file_from_commandline); use IO::Socket::Socks::Wrapper ( Net::POP3 => { ProxyAddr => $cfg->param('servername'), ProxyPort => $cfg->param('serverport'), } );
I assume BEGIN should work for Config::Simple case as well, will try it later. Thanks.