File: to-string-ipv4-comp.pl

package info (click to toggle)
libnet-ipv6addr-perl 0.96-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 328 kB
  • sloc: perl: 557; makefile: 2
file content (5 lines) | stat: -rw-r--r-- 133 bytes parent folder | download | duplicates (6)
1
2
3
4
5
#!/usr/bin/perl
use warnings;
use strict;
use Net::IPv6Addr ':all';
print to_string_ipv4_compressed ('dead:beef:0:3:2:1:cafe:babe');