I have a field in a mysql table as a varbinary(16), which stores binary IPv6 addresses.
While toying around with my code and testing stuff, I filled one of its records with the binary value for:
(this is the value I see in phpmyadmin)
When I call up the value with the query:
The return value I get is
In perl, when I try to put this into a Net::IP-object:
$ip = new Net::IP('fff:fff:fff:fff:fff:fff:fe0::', 6);
It returns undefined.
- Who or what is wrong here?
- What can I do to make perl understand the IP address I'm giving to it?