|
Hello All,
I hope someone knows the answer for this. I'm
working with Active Perl 5.8 on Windows 2003 Server, and I'm writing a script
that requests a file as follows:
use
LWP::Simple;
my $data = ""
'http://someaddress.com/somefile.txt';
# for some other
files i do also:
my $answer =
`someFetchingProgram.exe
http://someaddress.com/somefile.txt`;
That works fine. However, my server has 3 IP
addresses allocated in one single network interface. The three of them are
consecutive public ip addresses with full internet access. For some files and
remote servers, i need the script to request the file using my second or my
third ip address, but i can't find the way to force perl to go out to the
internet specifying an outgoing ip address. The script always uses the first one
either for the first or the second example.
Does anyone know the way to do what i'm trying to
do?
Thanks in advance.
Have a nice weekend! :-D
Paco.
|
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
