File: inos.pl

package info (click to toggle)
libnet-ipv6addr-perl 1.02-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 328 kB
  • sloc: perl: 598; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 197 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/usr/bin/perl
use warnings;
use strict;
use Net::IPv6Addr 'in_network_of_size';
my $obj = in_network_of_size ('dead:beef:cafe:babe:dead:beef:cafe:babe', 42);
print $obj->to_string_compressed ();