IRRd-Discuss
Date Prev | Date Next |
Date Index |
Thread Index |
Author Index |
Historical
Perl Interface to the IRRd
- From: Todd Caine
- Date: Wed May 22 17:40:38 2002
I've just released version 1.0 of a new Perl module called IRR.pm which
can be found at your local CPAN mirror. For those of you familiar
with the RIPE/RPSL Tool Query Language described in Appendix B of the IRRd
User's Manual, this module provides a Perl interface to those commands.
You can use the TQL directly by telnetting to the IRRd query server
port (usually 43) like:
sandbox:~ $ telnet whois.eli.net 43
Trying 207.173.0.29...
Connected to black.eli.net.
Escape character is '^]'.
!v
A38
# IRRd -- version 2.1.4 [02/04/2002]
C
Connection closed by foreign host.
Or you can use the new Perl module like:
sandbox:~ $ perl -MIRR -e 'print IRR->connect(host=>"whois.eli.net")->get_irrd_version()'
# IRRd -- version 2.1.4 [02/04/2002]
You should be able to install the IRR module using the CPAN module.
sandbox:~ $ perl -MCPAN -e 'install IRR'
After installation be sure to read the documentation.
sandbox:~ $ perldoc IRR
No extensive testing has been done to the module yet so if you see any
odd results please email me so that I can fix the problem as soon as possible.
Enjoy!
Todd
--
Todd Caine
Electric Lightwave, Inc.
tcaine@eli.net
|