Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Net-Telnet | Distribution: SUSE Linux Enterprise 15 |
Version: 3.04 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: 1.25 | Build date: Fri May 25 20:16:15 2018 |
Group: Development/Libraries/Perl | Build host: sheep56 |
Size: 183416 | Source RPM: perl-Net-Telnet-3.04-1.25.src.rpm |
Packager: https://www.suse.com/ | |
Url: http://search.cpan.org/dist/Net-Telnet/ | |
Summary: interact with TELNET port or other TCP ports |
Net::Telnet allows you to make client connections to a TCP port and do network I/O, especially to a port using the TELNET protocol. Simple I/O methods such as print, get, and getline are provided. More sophisticated interactive features are provided because connecting to a TELNET port ultimately means communicating with a program designed for human interaction. These interactive features include the ability to specify a time-out and to wait for patterns to appear in the input stream, such as the prompt from a shell. IPv6 support is available when using perl 5.14 or later (see 'family()'. Other reasons to use this module than strictly with a TELNET port are: * * You're not familiar with sockets and you want a simple way to make client connections to TCP services. * * You want to be able to specify your own time-out while connecting, reading, or writing. * * You're communicating with an interactive program at the other end of some socket or pipe and you want to wait for certain patterns to appear. Here's an example that prints who's logged-on to a remote host. In addition to a username and password, you must also know the user's shell prompt, which for this example is '"bash$ "' use Net::Telnet (); $t = new Net::Telnet (Timeout => 10, Prompt => '/bash\$ $/'); $t->open($host); $t->login($username, $passwd); @lines = $t->cmd("who"); print @lines; See the *EXAMPLES* section below for more examples. Usage questions should be directed to the perlmonks.org discussion group. Bugs can be viewed or reported at cpan.org on the Net::Telnet page.
GPL-1.0+ or Artistic-1.0
* Sat Jun 08 2013 coolo@suse.com - updated to 3.04 * Telnet.pm (open family sockfamily): Added IPv6 support. It is enabled using the method/parameter family() and the installed Socket package version is 1.94+ (which corresponds with perl 5.14+). * Telnet.pm (peerhost peerport sockhost sockport): New methods to support IPv6, because the inherited ones from IO::Socket::INET don't. * Telnet.pm (open localhost localfamily): New methods and open() parameters for binding to a local network interface. * Telnet.pm (dump_log, input_log, option_log, output_log): Fixed so they turn off logging when passed an empty string arg. * Telnet.pm (_fillbuf _put): Fixed to use Errno::EINTR, when possible, to test for an interrupted select(), sysread(), or syswrite(). The test for $! =~ /^interrupted doesn't work when LANG is not English. * Telnet.pm (dump_log, input_log, option_log, output_log): Fixed so they take a bare filehandle. * Wed Feb 27 2013 coolo@suse.com - update license to new format * Fri Nov 18 2011 coolo@suse.com - use original .tar.gz * Wed Dec 01 2010 coolo@novell.com - switch to perl_requires macro * Mon Nov 29 2010 coolo@novell.com - remove /var/adm/perl-modules * Tue Oct 19 2010 coolo@novell.com - add perl as explicit buildrequire * Sun Jan 10 2010 jengelh@medozas.de - enable parallel build * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Sep 28 2005 dmueller@suse.de - add norootforbuild * Fri Aug 22 2003 mjancar@suse.cz - require the perl version we build with
/usr/lib/perl5/vendor_perl/5.26.1/Net /usr/lib/perl5/vendor_perl/5.26.1/Net/Telnet.pm /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/share/doc/packages/perl-Net-Telnet /usr/share/doc/packages/perl-Net-Telnet/ChangeLog /usr/share/doc/packages/perl-Net-Telnet/README /usr/share/man/man3/Net::Telnet.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 19:58:50 2024