> Attempt to free unreferenced scalar.
> Attempt to free unreferenced scalar.
> Attempt to free unreferenced scalar.
> Attempt to free unreferenced scalar.
> Attempt to free unreferenced scalar.
Interesting. Is the number of "Attempt to free unreferenced scalar."
messages the same as the number of undef elements in @VirtualHost?
>> Where you write $#VirtualHost, that's the *array* @VirtualHost; it's not the
>> number of elements in @{ $VirtualHost{$ip} }. See the difference? Each time
>> you increment $#VirtualHost, you
>
> ... got cut off.. I increment the array not the elements??
Oops, sorry. I was going to say that when you increment $#VirtualHost, you
increase the size of the array @VirtualHost, adding a new (undefined)
element.
In other words you're using an array as a glorified index counter. :)
bye,
Ben