Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Net-Telnet-3.05-1.7 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: perl-Net-Telnet Distribution: openSUSE Tumbleweed
Version: 3.05 Vendor: openSUSE
Release: 1.7 Build date: Thu Feb 1 01:58:51 2024
Group: Unspecified Build host: h02-ch1c
Size: 203329 Source RPM: perl-Net-Telnet-3.05-1.7.src.rpm
Packager: http://bugs.opensuse.org
Url: https://metacpan.org/release/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.

Provides

Requires

License

Artistic-1.0 OR GPL-1.0-or-later

Changelog

* Tue Jun 22 2021 Tina Müller <timueller+perl@suse.de>
  - updated to 3.05
    see /usr/share/doc/packages/perl-Net-Telnet/ChangeLog
    2021-06-20  Jay Rogers  <jay@rgrs.com>
    * Version 3.05 released.
    2021-06-20  Jay Rogers  <jay@rgrs.com>
    * Telnet.pm: Fixed new perl warning about argument isn't numeric in
    numeric ge (>=).
    2021-05-30  Jay Rogers  <jay@rgrs.com>
    * Telnet.pm (dump_log input_log option_log output_log): Changed
    the logging subroutines to also accept a tied filehandle.
    2021-03-30  Jay Rogers  <jay@rgrs.com>
    * Telnet.pm (waitfor): Improved the speed to search for the
    "match", especially when reading a large amount of data, by using
    the dynamic arrays @- and @+ instead of $` and $&.
    2021-03-30  Jay Rogers  <jay@rgrs.com>
    * Telnet.pm (new): Fixed a bug that caused the instantiation to
    fail when setting one of the *_log input args to an empty string.
    2020-02-20  Jay Rogers  <jay@rgrs.com>
    * Telnet.pm: Added a workaround for the "require FileHandle" bug in
    perl 5.10.1.
    2020-02-20  Jay Rogers  <jay@rgrs.com>
    * Telnet.pm: Stopped using the deprecated variable $[ in the
    autoflush idiom select((select($fh), $|=1)[$[]).
    2018-07-12  Jay Rogers  <jay@rgrs.com>
    * Telnet.pm: Fixed some documentation and pod command typos.
* 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

Files

/usr/lib/perl5/vendor_perl/5.38.2/Net
/usr/lib/perl5/vendor_perl/5.38.2/Net/Telnet.pm
/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, Mon Mar 11 23:53:03 2024