Gisle Aas <gisle@aas.no> wrote > I have had several requests for a way to control the 'LocalAddr' used > for connections made by LWP. I think the best way to deal with this > is to make is configurable at the IO::Socket::INET level. In this > patch I have chosen to make it default from an environment variable. > Another approach could be to provide a class method or simply a global > variable like $IO::Socket::INET::DEFAULT_LOCAL_ADDR. Any other > thoughts or suggestiong for a better environment variable name? a) I don't see the need to do this at the IO::Socket level. b) If it is done, a global variable is preferable to an environment variable. c) Shouldn't environment variables used by Perl have names starting PERL... ? Mike GuyThread Previous | Thread Next