File: XS.pm

package info (click to toggle)
libsocket-getaddrinfo-perl 0.22-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 452 kB
  • sloc: perl: 964; makefile: 14
file content (27 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#  You may distribute under the terms of either the GNU General Public License
#  or the Artistic License (the same terms as Perl itself)
#
#  (C) Paul Evans, 2010-2011 -- leonerd@leonerd.org.uk

package Socket::GetAddrInfo::XS;

use strict;
use warnings;

our $VERSION = '0.22';

# Load the actual code into Socket::GetAddrInfo
package # hide from indexer
  Socket::GetAddrInfo;

our @EXPORT_OK = qw(
   getaddrinfo
   getnameinfo
);

die '$Socket::GetAddrInfo::NO_XS is set' if our $NO_XS;

require XSLoader;
XSLoader::load( __PACKAGE__, $Socket::GetAddrInfo::XS::VERSION );

0x55AA;