use Net::INET6Glue::INET_is_INET6; use LWP::Simple; print get( 'http://[2620:0:a17:e03d:250:56ff:fea4:6d]/server-status' );