1# You may distribute under the terms of either the GNU General Public License 2# or the Artistic License (the same terms as Perl itself) 3# 4# (C) Paul Evans, 2015 -- leonerd@leonerd.org.uk 5 6package IO::Async::Resolver::DNS::Constants; 7 8use strict; 9use warnings; 10 11our $VERSION = '0.06'; 12 13my %constants = ( 14 ERR_NO_HOST => 1, 15 ERR_NO_ADDRESS => 2, 16 ERR_TEMPORARY => 3, 17 ERR_UNRECOVERABLE => 4, 18); 19 20require constant; 21constant->import( \%constants ); 22 23use Exporter 'import'; 24our @EXPORT_OK = keys %constants; 25 260x55AA; 27