| 1 |
Source: libtemplate-plugin-ipaddr-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Perl Group <[email protected]> |
| 5 |
Uploaders: Nick Morrott <[email protected]> |
| 6 |
Build-Depends: debhelper-compat (= 13) |
| 7 |
Build-Depends-Indep: libnetaddr-ip-perl, |
| 8 |
libtemplate-perl, |
| 9 |
perl |
| 10 |
Standards-Version: 3.9.8 |
| 11 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtemplate-plugin-ipaddr-perl |
| 12 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtemplate-plugin-ipaddr-perl.git |
| 13 |
Homepage: https://metacpan.org/release/Template-Plugin-IPAddr |
| 14 |
Testsuite: autopkgtest-pkg-perl |
| 15 |
|
| 16 |
Package: libtemplate-plugin-ipaddr-perl |
| 17 |
Architecture: all |
| 18 |
Depends: ${misc:Depends}, ${perl:Depends}, |
| 19 |
libnetaddr-ip-perl, |
| 20 |
libtemplate-perl |
| 21 |
Description: plugin handling IP addresses for the Template Toolkit |
| 22 |
Template::Plugin::IPAddr implements an IPAddr class for handling IPv4 and |
| 23 |
IPv6 addresses in an object-orientated way. The module is based on NetAddr::IP |
| 24 |
and works on IPv4 as well as IPv6 addresses. |
| 25 |
. |
| 26 |
You can create a IPAddr object via the USE directive, adding any initial |
| 27 |
prefix as an argument: |
| 28 |
. |
| 29 |
[% USE IPAddr %] |
| 30 |
. |
| 31 |
[% USE IPAddr(prefix) %] |
| 32 |
. |
| 33 |
Once you've got an IPAddr object, you can use it as a prototype to create |
| 34 |
other IPAddr objects with the new() method. |