Works fine for me.... a couple of points, however:
You might want to use the default SNMP port (161), rather than 178
Your error sortof suggests to me that something might be going wrong with either Socket6 or IO::Socket::INET6. Are you sure you installed those correctly?