How to read proxy settings within Perl(on server) component?

Hello,

I need to make http request from Perl(on server) component. I use LWP::UserAgent for this purpose.

The thing is, proxy settings defined via Pipeline Pilot server admin site (Setup->Proxy) are not placed into any environment variables available for perl that PLP server runs.

The question is:

is there any way to read proxy settings defined via Pipeline Pilot server admin site using PilotScript or PLP perl modules?

P.S. At this point I use the following workaround: I create in admin site custom global variable (Setup->Globals), put proxy URL in this variable, and read it then in perl code embeded into Perl(on server) component.

But I'm not happy with this solution

Thank you,

Aleksey