Whoops, thanks, meant to say 'for'.
My work proxy never gave me anything in @netWpadAddrs.
Redfaced,
cmac
On Mar 2, 2010, at 7:11 PM, Bruce Gray wrote:
On Mar 2, 2010, at 7:44 PM, cr...@animalhead.com wrote:
--snip--
while (@netWpadAddrs) {
# the proxy answered with (an) IP address(es) -- try to read
the wpad.dat file
my $wpadIP = sprintf("%d.%d.%d.%d", unpack ('C4', $_));
That looks like a serious bug, causing an infinite loop, and
unpacking undefined values.
The `while` statement needs to be changed to `foreach`.
--
Hope this helps,
Bruce Gray (Util)