in reply to problem with Net::YMSG

Which line is 351? Just a guess based on what argument could be missing: Do you need to specify a port (maybe the $self->get_port fails)?