DOKK / manpages / debian 10 / mtpolicyd / Mail::MtPolicyd::AddressList.3pm.en
Mail::MtPolicyd::AddressList(3pm) User Contributed Perl Documentation Mail::MtPolicyd::AddressList(3pm)

Mail::MtPolicyd::AddressList - a class for IP address lists

version 2.03

Contains an ArrayRef of NetAddr::IP which holds the all entries of this object.

Add a list of NetAddr::IP objects to the list.

Returns a true value when empty.

Returns the number of entries.

Add localhost addresses to list.

Takes a list of IP address strings.

The strings itself can contain a list of comma/space separated addresses.

Then a list of NetAddr::IP objects is created and pushed to the list.

Returns true if the give NetAddr::IP object matches an entry of the list.

Same as match(), but takes an string instead of NetAddr::IP object.

Returns a comma separated string with all addresses.

Markus Benning <ich@markusbenning.de>

This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991
2018-06-20 perl v5.26.2